Skip to content

Commit

Permalink
Cancel previous running workflows (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzgubic authored Jun 2, 2021
1 parent f46d7cb commit 61b8f12
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/Cancel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Cancel

on:
workflow_run:
workflows:
- "CI"
- "IntegrationTest"
- "JuliaNightly"
types:
- requested

jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
all_but_latest: true
workflow_id: ${{ github.event.workflow.id }}

0 comments on commit 61b8f12

Please sign in to comment.