Skip to content

Commit 12ee3c0

Browse files
authored
Merge branch 'main' into devin/1790965563-dockerignore-buildkit-parity
2 parents 93d9d35 + a9e893b commit 12ee3c0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/sdk_tests.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ on:
99
permissions:
1010
contents: read
1111

12+
# A new push to a PR supersedes its in-flight run, so cancel it instead of
13+
# letting both runs build the same test templates in parallel. Only first
14+
# attempts of PR runs share the per-PR group: a rerun of an older commit must
15+
# not cancel the current head's run, and manual dispatches must not replace
16+
# each other in the group's single pending slot, so both get their own group.
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.run_attempt == '1') && format('pr-{0}', github.event.pull_request.number) || format('run-{0}', github.run_id) }}
19+
cancel-in-progress: true
20+
1221
jobs:
1322
changes:
1423
name: Detect changes

0 commit comments

Comments
 (0)