mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9908 from Icinga/gha-push-cancel
GHA: cancel runs on PR, but not on push
This commit is contained in:
commit
b766c54a08
|
@ -11,7 +11,7 @@ on:
|
|||
- published
|
||||
|
||||
concurrency:
|
||||
group: docker-${{ github.ref }}
|
||||
group: docker-${{ github.event_name == 'push' && github.sha || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -8,7 +8,7 @@ on:
|
|||
pull_request: {}
|
||||
|
||||
concurrency:
|
||||
group: linux-${{ github.ref }}
|
||||
group: linux-${{ github.event_name == 'push' && github.sha || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -8,7 +8,7 @@ on:
|
|||
pull_request: {}
|
||||
|
||||
concurrency:
|
||||
group: rpm-${{ github.ref }}
|
||||
group: rpm-${{ github.event_name == 'push' && github.sha || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -8,7 +8,7 @@ on:
|
|||
pull_request: {}
|
||||
|
||||
concurrency:
|
||||
group: windows-${{ github.ref }}
|
||||
group: windows-${{ github.event_name == 'push' && github.sha || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
Loading…
Reference in New Issue