Skip to content

Commit 1e01273

Browse files
chore: remove styfle/cancel-workflow-action usage (testing-library#961)
1 parent 1213443 commit 1e01273

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/validate.yml

+6-7
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
@@ -20,9 +25,6 @@ jobs:
2025
react: [16.9.0, ^16, ^17]
2126
runs-on: ubuntu-latest
2227
steps:
23-
- name: 🛑 Cancel Previous Runs
24-
uses: styfle/[email protected]
25-
2628
- name: ⬇️ Checkout repo
2729
uses: actions/checkout@v2
2830

@@ -55,9 +57,6 @@ jobs:
5557
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) &&
5658
github.event_name == 'push' }}
5759
steps:
58-
- name: 🛑 Cancel Previous Runs
59-
uses: styfle/[email protected]
60-
6160
- name: ⬇️ Checkout repo
6261
uses: actions/checkout@v2
6362

0 commit comments

Comments
 (0)