Skip to content

Commit 96d8954

Browse files
chore: remove styfle/cancel-workflow-action usage (#300)
1 parent c6c95e7 commit 96d8954

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/validate.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ on:
99
- "beta"
1010
- "alpha"
1111
- "!all-contributors/**"
12-
pull_request: {}
12+
pull_request:
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
1318
jobs:
1419
main:
1520
# ignore all-contributors PRs
@@ -21,9 +26,6 @@ jobs:
2126
node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16]
2227
runs-on: ubuntu-latest
2328
steps:
24-
- name: 🛑 Cancel Previous Runs
25-
uses: styfle/cancel-workflow-action@0.11.0
26-
2729
- name: ⬇️ Checkout repo
2830
uses: actions/checkout@v3
2931

@@ -62,9 +64,6 @@ jobs:
6264
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
6365
github.ref) && github.event_name == 'push' }}
6466
steps:
65-
- name: 🛑 Cancel Previous Runs
66-
uses: styfle/cancel-workflow-action@0.11.0
67-
6867
- name: ⬇️ Checkout repo
6968
uses: actions/checkout@v3
7069

0 commit comments

Comments
 (0)