Skip to content

Commit 0e5bf37

Browse files
Merge pull request #69 from testing-library/MichaelDeBoey-patch-1
chore: remove `styfle/cancel-workflow-action` usage
2 parents b589fbd + c234c5b commit 0e5bf37

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
@@ -19,9 +24,6 @@ jobs:
1924
node: [12, 14, 16]
2025
runs-on: ubuntu-latest
2126
steps:
22-
- name: 🛑 Cancel Previous Runs
23-
uses: styfle/[email protected]
24-
2527
- name: ⬇️ Checkout repo
2628
uses: actions/checkout@v2
2729

@@ -51,9 +53,6 @@ jobs:
5153
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) &&
5254
github.event_name == 'push' }}
5355
steps:
54-
- name: 🛑 Cancel Previous Runs
55-
uses: styfle/[email protected]
56-
5756
- name: ⬇️ Checkout repo
5857
uses: actions/checkout@v2
5958

0 commit comments

Comments
 (0)