mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +00:00
CI: Cancel duplicate workflow runs for pull requests
These are created when a pull request is force-pushed to, which results in the unneeded waste of action runners on the obsolete CI run.
This commit is contained in:
parent
3265141286
commit
97ea192e3e
1 changed files with 4 additions and 0 deletions
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
|
@ -8,6 +8,10 @@ env:
|
|||
# github.workspace = /home/runner/work/serenity/serenity
|
||||
SERENITY_SOURCE_DIR: ${{ github.workspace }}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build_and_test_serenity:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue