mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
GHA: cancel runs on PR, but not on push
In a PR one top commit replaces the previous one. But the central branches are more like timelines. It's nice to have red crosses in a such timeline as clear indicators that something was actually broken.
This commit is contained in:
parent
35ef622cc6
commit
3801b8a7cb
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/rpm.yml
vendored
2
.github/workflows/rpm.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@ -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…
x
Reference in New Issue
Block a user