Skip to content

Commit 625d8b7

Browse files
mborlandwchilders-nvidia
authored andcommitted
For PRs kill in-progress testing on new pushes []
1 parent fbf7448 commit 625d8b7

5 files changed

Lines changed: 24 additions & 0 deletions

File tree

‎.github/workflows/acknowledg-forge.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ on:
3333
# Also run by acknowledg-forge-deploy before publishing an image.
3434
workflow_call:
3535

36+
# A new push to a pull request cancels its in-progress run. Pushes to main are
37+
# grouped per commit, so every merged commit is still tested in full. When
38+
# called from acknowledg-forge-deploy, github.workflow is the caller's name,
39+
# so that run never shares a group with this workflow's own run on the push.
40+
concurrency:
41+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
42+
cancel-in-progress: true
43+
3644
permissions:
3745
contents: read
3846

‎.github/workflows/build-and-test-ci.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ on:
3232
- main
3333
pull_request:
3434

35+
concurrency:
36+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
37+
cancel-in-progress: true
38+
3539
jobs:
3640
prepare:
3741
name: Prepare run timestamp

‎.github/workflows/issue-templates.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ on:
2424
- .github/workflows/issue-templates.yml
2525
- dev_tools/bin/edg-check-issue-templates
2626

27+
concurrency:
28+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
29+
cancel-in-progress: true
30+
2731
permissions:
2832
contents: read
2933

‎.github/workflows/strict-build-check.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
- main
1515
pull_request:
1616

17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
19+
cancel-in-progress: true
20+
1721
jobs:
1822
windows-msvc-release:
1923
name: Windows MSVC release

‎.github/workflows/typecheck-python.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ on:
1616
- main
1717
pull_request:
1818

19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
21+
cancel-in-progress: true
22+
1923
jobs:
2024
typecheck:
2125
name: typecheck-python (${{ matrix.python-version }})

0 commit comments

Comments
 (0)