Skip to content

Commit c5ca70e

Browse files
authored
Cancel concurrent downstream tests only for matching workflow (#245)
* Update downstream.yml Revert concurrency cancellation * Update downstream.yml Check for concurrency in current workflow * Update downstream.yml Change group name * Update ci.yml Include workflow name in concurrency group
1 parent 803d0fc commit c5ca70e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- '.github/workflows/TagBot.yml'
1515

1616
concurrency:
17-
group: build-${{ github.event.pull_request.number || github.ref }}
17+
group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }}
1818
cancel-in-progress: true
1919

2020
jobs:

.github/workflows/downstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- '.github/workflows/TagBot.yml'
1111

1212
concurrency:
13-
group: build-${{ github.event.pull_request.number || github.ref }}
13+
group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }}
1414
cancel-in-progress: true
1515

1616
jobs:

0 commit comments

Comments
 (0)