Skip to content

Commit

Permalink
ci: auto cancel actions on repush
Browse files Browse the repository at this point in the history
  • Loading branch information
loopingz committed Oct 8, 2023
1 parent 5586588 commit b698dd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
# The branches below must be a subset of the branches above
branches: [main]

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
test:
# Cannot rely on Github Azure hosted action because of GCP connection
Expand Down

0 comments on commit b698dd5

Please sign in to comment.