mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
Cancel concurrent workflow runs in PRs.
This commit is contained in:
parent
dfa60dc91d
commit
d0e61097f1
5
.github/workflows/ansible-test.yml
vendored
5
.github/workflows/ansible-test.yml
vendored
@ -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 }})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user