Skip to content

Commit 4a7673d

Browse files
[Github] Fix premerge concurrency cancellation
This should actually fix the problem as I validated that github.sha returns an actual value by running a workflow in a test repo. I'm not sure why the existing value doesn't work, but it returns nothing.
1 parent a5d00ae commit 4a7673d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/premerge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
if: github.repository_owner == 'llvm'
1717
runs-on: llvm-premerge-linux-runners
1818
concurrency:
19-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.push.head }}
19+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
2020
cancel-in-progress: true
2121
container:
2222
image: ghcr.io/llvm/ci-ubuntu-22.04:latest

0 commit comments

Comments
 (0)