Merge pull request #9908 from Icinga/gha-push-cancel

GHA: cancel runs on PR, but not on push
This commit is contained in:
Alexander Aleksandrovič Klimov 2023-11-20 10:57:06 +01:00 committed by GitHub
commit b766c54a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ on:
- published - published
concurrency: concurrency:
group: docker-${{ github.ref }} group: docker-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:

View File

@ -8,7 +8,7 @@ on:
pull_request: {} pull_request: {}
concurrency: concurrency:
group: linux-${{ github.ref }} group: linux-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:

View File

@ -8,7 +8,7 @@ on:
pull_request: {} pull_request: {}
concurrency: concurrency:
group: rpm-${{ github.ref }} group: rpm-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:

View File

@ -8,7 +8,7 @@ on:
pull_request: {} pull_request: {}
concurrency: concurrency:
group: windows-${{ github.ref }} group: windows-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs: