Skip to content

Commit 687db56

Browse files
authored
ci: add job to cancel previous runs (#179)
1 parent b8d2538 commit 687db56

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/cancel.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Cancel
2+
on: [push]
3+
jobs:
4+
cancel:
5+
name: Cancel Previous Runs
6+
runs-on: ubuntu-latest
7+
timeout-minutes: 3
8+
steps:
9+
- uses: styfle/[email protected]
10+
with:
11+
workflow_id: nodejs.yml
12+
access_token: ${{ github.token }}

0 commit comments

Comments
 (0)