8000 ci: add workflow to cancel previous runs (#4542) · webpack/webpack-dev-server@544543a · GitHub
[go: up one dir, main page]

Skip to content

Commit 544543a

Browse files
authored
ci: add workflow to cancel previous runs (#4542)
1 parent 49efdf8 commit 544543a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/cancel.yml

Lines changed: 12 additions & 0 deletions
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/cancel-workflow-action@0.10.0
10+
with:
11+
workflow_id: nodejs.yml
12+
access_token: ${{ github.token }}

0 commit comments

Comments
 (0)
0