Skip to content

Commit 03a208e

Browse files
♻️ Use GitHub concurrency instead of styfle/cancel-workflow-action (#781)
1 parent 9ead6c0 commit 03a208e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
branches:
99
- master
1010

11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
14+
1115
jobs:
1216

1317
continuous-integration:
@@ -22,12 +26,6 @@ jobs:
2226
fail-fast: false
2327

2428
steps:
25-
# Cancel previous runs of the same branch
26-
- name: cancel
27-
uses: styfle/cancel-workflow-action@0.12.1
28-
with:
29-
access_token: ${{ github.token }}
30-
3129
- name: "Checkout"
3230
uses: "actions/checkout@v5"
3331

0 commit comments

Comments
 (0)