Skip to content

Commit ace6d6c

Browse files
fix: incorporate version/tag input into concurrency group to prevent cancellation of distinct manual runs (#4710)
Closes #3532 publish-packages.yml: group now includes ${{ github.event.inputs.version || github.sha }} postflight.yml: group now includes ${{ github.event.inputs.tag || github.sha }} Without this, two manual workflow_dispatch runs with different version/tag inputs shared the same concurrency group and the second would cancel the first.
1 parent 475cea2 commit ace6d6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/postflight.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
required: false
1111

1212
concurrency:
13-
group: ${{ github.workflow }}-${{ github.ref }}
13+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.tag || github.sha }}
1414
cancel-in-progress: true
1515

1616
jobs:

.github/workflows/publish-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
required: true
1111

1212
concurrency:
13-
group: ${{ github.workflow }}-${{ github.ref }}
13+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.version || github.sha }}
1414
cancel-in-progress: true
1515

1616
jobs:

0 commit comments

Comments
 (0)