Skip to content

Commit c0a759c

Browse files
authored
Merge pull request adafruit#11388 from tannewt/cancel_on_main
Cancel on branch pushes including main
2 parents bfddf99 + bbaa5ef commit c0a759c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
types: [published]
1717

1818
concurrency:
19-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
2020
cancel-in-progress: true
2121

2222
jobs:

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
types: [checks_requested]
1212

1313
concurrency:
14-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
1515
cancel-in-progress: true
1616

1717
jobs:

0 commit comments

Comments
 (0)