Skip to content

Commit

Permalink
chore: cancel already running job
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Aug 14, 2024
1 parent a113a01 commit 11bb485
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on: [pull_request, push]
#push:
# branches: master

# Cancel a job if there's a new on on the same branch started.
# Based on https://stackoverflow.com/questions/58895283/stop-already-running-workflow-job-in-github-actions/67223051#67223051
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

env:
#RUSTFLAGS: "-Dwarnings"
CARGO_INCREMENTAL: 0
Expand Down

0 comments on commit 11bb485

Please sign in to comment.