Skip to content

Commit f6c6d96

Browse files
chore: remove styfle/cancel-workflow-action usage (#1204)
1 parent f78839b commit f6c6d96

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
@@ -11,7 +11,12 @@ on:
1111
- 'beta'
1212
- 'alpha'
1313
- '!all-contributors/**'
14-
pull_request: {}
14+
pull_request:
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
1520
permissions:
1621
actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action)
1722
contents: read # to fetch code (actions/checkout)
@@ -28,9 +33,6 @@ jobs:
2833
react: [latest, next, experimental]
2934
runs-on: ubuntu-latest
3035
steps:
31-
- name: 🛑 Cancel Previous Runs
32-
uses: styfle/[email protected]
33-
3436
- name: ⬇️ Checkout repo
3537
uses: actions/checkout@v2
3638

@@ -73,9 +75,6 @@ jobs:
7375
${{ github.repository == 'testing-library/react-testing-library' &&
7476
github.event_name == 'push' }}
7577
steps:
76-
- name: 🛑 Cancel Previous Runs
77-
uses: styfle/[email protected]
78-
7978
- name: ⬇️ Checkout repo
8079
uses: actions/checkout@v2
8180

0 commit comments

Comments
 (0)