Cancel concurrent workflow runs in PRs.

(cherry picked from commit d0e61097f1)
This commit is contained in:
Felix Fontein 2023-02-23 09:56:26 +01:00
parent d50d6e05ca
commit 57e6bb7ca5

View File

@ -11,6 +11,11 @@ on:
- stable-2
pull_request:
concurrency:
# Make sure there is at most one active run per PR, but do not cancel any non-PR runs
group: ${{ github.workflow }}-${{ (github.head_ref && github.event.number) || github.run_id }}
cancel-in-progress: true
jobs:
sanity:
name: EOL Sanity (Ⓐ${{ matrix.ansible }})