Cancel concurrent workflow runs in PRs.

This commit is contained in:
Felix Fontein 2023-02-23 09:56:26 +01:00
parent dfa60dc91d
commit d0e61097f1

View File

@ -18,6 +18,11 @@ on:
schedule:
- cron: '0 9 * * *'
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 }})