Skip to content

Commit

Permalink
.github: auto cancel previous action runs when new commits are pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
Gottox committed Aug 21, 2023
1 parent 87812e0 commit 78c2801
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CI
on:
- push
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
Expand Down

0 comments on commit 78c2801

Please sign in to comment.