Skip to content

Commit 52596bd

Browse files
chore: cancel previous CI runs in PRs (#69)
1 parent 65e99b7 commit 52596bd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
node_version: [16]
1616

1717
steps:
18+
- name: Cancel Previous Runs
19+
uses: styfle/cancel-workflow-action@0.11.0
20+
if: github.event_name == 'pull_request'
21+
with:
22+
access_token: ${{ secrets.GITHUB_TOKEN }}
1823
- uses: actions/checkout@v3
1924
- name: Setup
2025
uses: ./.github/actions/setup

0 commit comments

Comments
 (0)