Skip to content

Commit

Permalink
ci: add job to cancel previous runs (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 committed Aug 15, 2022
1 parent d292548 commit bb799d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cancel.yml
@@ -0,0 +1,12 @@
name: Cancel
on: [push]
jobs:
cancel:
name: Cancel Previous Runs
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@0.10.0
with:
workflow_id: nodejs.yml
access_token: ${{ github.token }}

0 comments on commit bb799d1

Please sign in to comment.