diff --git a/.github/workflows/blockifier_ci.yml b/.github/workflows/blockifier_ci.yml index cffde84f5f..5a8d96b2d2 100644 --- a/.github/workflows/blockifier_ci.yml +++ b/.github/workflows/blockifier_ci.yml @@ -38,8 +38,12 @@ env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/blockifier_compiled_cairo.yml b/.github/workflows/blockifier_compiled_cairo.yml index d8f6e010ec..4480aed50a 100644 --- a/.github/workflows/blockifier_compiled_cairo.yml +++ b/.github/workflows/blockifier_compiled_cairo.yml @@ -19,8 +19,12 @@ env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/blockifier_reexecution_ci.yml b/.github/workflows/blockifier_reexecution_ci.yml index 91f6a13344..042479d52a 100644 --- a/.github/workflows/blockifier_reexecution_ci.yml +++ b/.github/workflows/blockifier_reexecution_ci.yml @@ -23,8 +23,12 @@ env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/committer_ci.yml b/.github/workflows/committer_ci.yml index 2b7c1f620f..ae78758537 100644 --- a/.github/workflows/committer_ci.yml +++ b/.github/workflows/committer_ci.yml @@ -22,8 +22,12 @@ env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/committer_cli_push.yml b/.github/workflows/committer_cli_push.yml index 1d14b57553..a95a6e6a99 100644 --- a/.github/workflows/committer_cli_push.yml +++ b/.github/workflows/committer_cli_push.yml @@ -38,8 +38,12 @@ env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e394d89a95..3f6685e934 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,8 +23,12 @@ env: EXTRA_RUST_TOOLCHAINS: nightly-2024-04-29 # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/main_pr.yml b/.github/workflows/main_pr.yml index 5d99b3831b..84af6dbd33 100644 --- a/.github/workflows/main_pr.yml +++ b/.github/workflows/main_pr.yml @@ -13,8 +13,12 @@ env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/merge_paths_ci.yml b/.github/workflows/merge_paths_ci.yml index 200aa1b573..6beba2d0e9 100644 --- a/.github/workflows/merge_paths_ci.yml +++ b/.github/workflows/merge_paths_ci.yml @@ -17,8 +17,12 @@ on: - 'scripts/merge_status.py' # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/papyrus_ci.yml b/.github/workflows/papyrus_ci.yml index 894661e4b2..e24654ff24 100644 --- a/.github/workflows/papyrus_ci.yml +++ b/.github/workflows/papyrus_ci.yml @@ -26,8 +26,12 @@ env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/papyrus_docker-publish.yml b/.github/workflows/papyrus_docker-publish.yml index 8addb8710f..53fb8fc1a2 100644 --- a/.github/workflows/papyrus_docker-publish.yml +++ b/.github/workflows/papyrus_docker-publish.yml @@ -24,8 +24,12 @@ on: - 'deployments/images/papyrus/Dockerfile' # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} env: diff --git a/.github/workflows/sequencer_integration_tests.yml b/.github/workflows/sequencer_integration_tests.yml index b073dbf3f8..30beb61d4c 100644 --- a/.github/workflows/sequencer_integration_tests.yml +++ b/.github/workflows/sequencer_integration_tests.yml @@ -12,9 +12,13 @@ on: env: RUSTFLAGS: "-D warnings -C link-arg=-fuse-ld=lld" -# On PR events, cancel existing CI runs on this same PR for this workflow. +# On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: diff --git a/.github/workflows/upload_artifacts_workflow.yml b/.github/workflows/upload_artifacts_workflow.yml index c10ba85bae..e943faff15 100644 --- a/.github/workflows/upload_artifacts_workflow.yml +++ b/.github/workflows/upload_artifacts_workflow.yml @@ -31,8 +31,12 @@ on: - 'scripts/sequencer-ci.Dockerfile' # On PR events, cancel existing CI runs on this same PR for this workflow. +# Also, create different concurrency groups for different pushed commits, on push events. concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} + group: > + ${{ github.workflow }}- + ${{ github.ref }}- + ${{ github.event_name == 'pull_request' && 'PR' || github.sha }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} env: