Skip to content

Commit 314ea12

Browse files
authored
fix(ci): gevals workflow concurrency group is corrected (#535)
Signed-off-by: Calum Murray <[email protected]>
1 parent 77b4baf commit 314ea12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gevals.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ permissions:
2929

3030
concurrency:
3131
# Only run once for latest commit per ref and cancel other (previous) runs.
32-
group: ${{ github.workflow }}-${{ github.ref }}
32+
# For issue_comment events, use PR number as group to avoid different PRs canceling each other.
33+
group: ${{ github.workflow }}-${{ github.event_name == 'issue_comment' && format('pr-{0}', github.event.issue.number) || github.ref }}
3334
cancel-in-progress: true
3435

3536
env:

0 commit comments

Comments
 (0)