mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-18 12:52:37 +00:00
Cancel concurrent workflow runs in PRs.
(cherry picked from commit d0e61097f1)
This commit is contained in:
parent
d50d6e05ca
commit
57e6bb7ca5
5
.github/workflows/ansible-test.yml
vendored
5
.github/workflows/ansible-test.yml
vendored
@ -11,6 +11,11 @@ on:
|
|||||||
- stable-2
|
- stable-2
|
||||||
pull_request:
|
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:
|
jobs:
|
||||||
sanity:
|
sanity:
|
||||||
name: EOL Sanity (Ⓐ${{ matrix.ansible }})
|
name: EOL Sanity (Ⓐ${{ matrix.ansible }})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user