Skip to content
Snippets Groups Projects
Unverified Commit 75751f4a authored by Hugo van Kemenade's avatar Hugo van Kemenade Committed by GitHub
Browse files

Auto-cancel old builds when new commit pushed to branch (#98009)


* Auto-cancel old builds when new commit pushed to branch

* Add a fallback

Co-authored-by: default avatarEzio Melotti <ezio.melotti@gmail.com>

* Use the same group for all workflows.

Co-authored-by: default avatarEzio Melotti <ezio.melotti@gmail.com>
parent 54055378
Branches
Tags
No related merge requests found
......@@ -25,6 +25,10 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check_source:
name: 'Check for source changes'
......
......@@ -18,6 +18,10 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Windows Installer
......
......@@ -28,6 +28,10 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build_doc:
name: 'Docs'
......
......@@ -16,6 +16,10 @@ on:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment