Skip to content

Commit

Permalink
github-ci: cancel previous builds workflow for branch
Browse files Browse the repository at this point in the history
On a push of the same branch, cancel the previous running builds.yml
workflow.
  • Loading branch information
jasonish committed Nov 15, 2023
1 parent 66235e8 commit d08372b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
SV_REPO:
SV_BRANCH:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: read-all

env:
Expand Down

0 comments on commit d08372b

Please sign in to comment.