From 4b90743ada8f13d56efc1576f9fd111ceb643567 Mon Sep 17 00:00:00 2001 From: Vladimir Reznichenko Date: Wed, 31 Jul 2024 08:46:55 +0200 Subject: [PATCH] CI: add some comments to CI-workflow about intended jobs generation strategy. (#50114) --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb37ac29600..417c790a3ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,9 @@ jobs: id: 'project-jobs' with: script: | + // Intended behaviour of the jobs generation: + // - PRs: run CI jobs aiming PRs and filter out jobs based on the content changes + // - Pushes: run CI jobs aiming pushes without filtering based on the content changes let baseRef = ${{ toJson( github.base_ref ) }}; if ( baseRef ) { baseRef = `--base-ref origin/${ baseRef }`;