Skip to content

Commit 39a64d4

Browse files
chore: remove styfle/cancel-workflow-action usage (#1228)
1 parent eadf748 commit 39a64d4

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
issues: write # to post release that resolves an issue
6968

@@ -73,9 +72,6 @@ jobs:
7372
${{ github.repository == 'testing-library/dom-testing-library' &&
7473
github.event_name == 'push' }}
7574
steps:
76-
- name: 🛑 Cancel Previous Runs
77-
uses: styfle/[email protected]
78-
7975
- name: ⬇️ Checkout repo
8076
uses: actions/checkout@v3
8177

0 commit comments

Comments
 (0)