Skip to content

Commit

Permalink
added cancel script
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherpickering committed Jul 29, 2021
1 parent 5b30191 commit f4d2d30
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This action finds in-progress Action jobs for the same branch, and cancels
# them. There's little point in continuing to run superceded jobs.

name: cancel

on:
push:

jobs:
cancel:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
workflow_id: test.yml

0 comments on commit f4d2d30

Please sign in to comment.