Skip to content

Commit 0232c31

Browse files
committed
Resurrect concurrency in JIT workflows
1 parent ae3d6a3 commit 0232c31

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/yjit-macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
2020
merge_group:
2121

22+
concurrency:
23+
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
24+
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
25+
2226
permissions:
2327
contents: read
2428

.github/workflows/zjit-macos.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
2020
merge_group:
2121

22+
concurrency:
23+
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
24+
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
25+
2226
permissions:
2327
contents: read
2428

.github/workflows/zjit-ubuntu.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ on:
1919
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/collaborating-on-repositories-with-code-quality-features/troubleshooting-required-status-checks#handling-skipped-but-required-checks
2020
merge_group:
2121

22+
concurrency:
23+
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
24+
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
25+
2226
permissions:
2327
contents: read
2428

0 commit comments

Comments
 (0)