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.

(cherry picked from commit 2b9603d)
  • Loading branch information
jasonish authored and victorjulien committed Nov 24, 2023
1 parent e138473 commit b8cf5ac
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 @@ -4,6 +4,10 @@ on:
- push
- pull_request

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

env:
DEFAULT_SV_REPO: https://github.com/OISF/suricata-verify
DEFAULT_SV_BRANCH: master
Expand Down

0 comments on commit b8cf5ac

Please sign in to comment.