ci: cancel pending CI jobs when a PR gets updated

This commit is contained in:
Loris Cro 2022-11-24 00:07:58 +01:00
parent bcb8ef50ff
commit dcb16731cf

View File

@ -4,6 +4,10 @@ on:
push: push:
branches: branches:
- master - master
concurrency:
# Cancels pending runs when a PR gets updated.
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
x86_64-linux-debug: x86_64-linux-debug:
outputs: outputs: