CI: add some comments to CI-workflow about intended jobs generation strategy. (#50114)
This commit is contained in:
parent
5ffad9a659
commit
4b90743ada
|
@ -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 }`;
|
||||
|
|
Loading…
Reference in New Issue