mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-12-15 16:37:03 +01:00
ci: only cancel in-progress jobs for pull requests (#1378)
- Only cancel in-progress CI jobs for pull requests, not for master branch pushes - Ensures all master branch jobs run to completion while still saving CI resources on PRs
This commit is contained in:
2
.github/workflows/docker-test.yml
vendored
2
.github/workflows/docker-test.yml
vendored
@@ -9,7 +9,7 @@ name: Docker Test
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
Reference in New Issue
Block a user