Skip to content

Commit 42a93e4

Browse files
chore: remove styfle/cancel-workflow-action usage (#4)
1 parent bf7dae5 commit 42a93e4

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/validate.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ 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
1519

1620
permissions: {}
1721

1822
jobs:
1923
main:
2024
permissions:
21-
actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action)
2225
contents: read # to fetch code (actions/checkout)
2326
# ignore all-contributors PRs
2427
if: ${{ !contains(github.head_ref, 'all-contributors') }}
@@ -29,9 +32,6 @@ jobs:
2932
node: [14, 16, 18]
3033
runs-on: ubuntu-latest
3134
steps:
32-
- name: 🛑 Cancel Previous Runs
33-
uses: styfle/[email protected]
34-
3535
- name: ⬇️ Checkout repo
3636
uses: actions/checkout@v3
3737
with:
@@ -63,7 +63,6 @@ jobs:
6363

6464
release:
6565
permissions:
66-
actions: write # to cancel/stop running workflows (styfle/cancel-workflow-action)
6766
contents: write # to create release tags (cycjimmy/semantic-release-action)
6867

6968
needs: main
@@ -72,9 +71,6 @@ jobs:
7271
${{ github.repository == 'testing-library/web-testing-library' &&
7372
github.event_name == 'push' }}
7473
steps:
75-
- name: 🛑 Cancel Previous Runs
76-
uses: styfle/[email protected]
77-
7874
- name: ⬇️ Checkout repo
7975
uses: actions/checkout@v3
8076

0 commit comments

Comments
 (0)