Skip to content

Commit

Permalink
Auto cancel outdated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Sep 23, 2021
1 parent b0529df commit bc3d5e2
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: "build.yml, docs-pages.yml"
access_token: ${{ github.token }}

0 comments on commit bc3d5e2

Please sign in to comment.