Skip to content

Commit b998dd4

Browse files
committed
chore: updated actions with QoL
1 parent b02283a commit b998dd4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,21 @@ on:
66

77
jobs:
88
test:
9+
# ignore all-contributors PRs
10+
if: ${{ !contains(github.head_ref, 'all-contributors') }}
11+
912
runs-on: ubuntu-latest
1013

1114
strategy:
1215
matrix:
1316
node: [10.x, 12.x]
1417

1518
steps:
19+
- name: Cancel previous runs
20+
uses: styfle/cancel-workflow-action@0.6.0
21+
with:
22+
access_token: ${{ secrets.GITHUB_TOKEN }}
23+
1624
- uses: actions/checkout@v2
1725

1826
- name: Setup nodejs
@@ -28,6 +36,11 @@ jobs:
2836
runs-on: ubuntu-latest
2937

3038
steps:
39+
- name: Cancel previous runs
40+
uses: styfle/cancel-workflow-action@0.6.0
41+
with:
42+
access_token: ${{ secrets.GITHUB_TOKEN }}
43+
3144
- uses: actions/checkout@v2
3245

3346
- name: Setup nodejs

0 commit comments

Comments
 (0)