Skip to content

Commit

Permalink
ci: add job to cancel previous runs (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 authored Aug 15, 2022
1 parent 55423ae commit 78c0590
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Cancel
on: [push]
jobs:
cancel:
name: Cancel Previous Runs
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/[email protected]
with:
workflow_id: nodejs.yml
access_token: ${{ github.token }}

0 comments on commit 78c0590

Please sign in to comment.