Skip to content

Commit 143e995

Browse files
fix: add event_name to concurrency group keys for all workflows
Aligns codebuild.yml and pull-request-lint.yml concurrency groups with the {workflow}-{event_name}-{ref} pattern for consistency and to prevent schedule triggers from cancelling push events if added later.
1 parent 2798288 commit 143e995

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/codebuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
- 'v*'
2222

2323
concurrency:
24-
group: ${{ github.workflow }}-${{ github.ref }}
24+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
2525
cancel-in-progress: true
2626

2727
env:

.github/workflows/pull-request-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ permissions:
3333
statuses: none
3434

3535
concurrency:
36-
group: ${{ github.workflow }}-${{ github.ref }}
36+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
3737
cancel-in-progress: true
3838

3939
env:

0 commit comments

Comments
 (0)