fix: correct ci concurrency and checkout configuration
- Remove sparse-checkout from supply-chain-pr workflow to allow local docker builds - Update concurrency groups in docker-build, quality-checks, and codeql to use strict branch refs - Remove SHA component from integration test concurrency groups to enable proper cancellation of stale runs - Ensures rapid pushes now correctly cancel previous in-progress CI jobs instead of queuing indefinitely
This commit is contained in:
2
.github/workflows/crowdsec-integration.yml
vendored
2
.github/workflows/crowdsec-integration.yml
vendored
@@ -22,7 +22,7 @@ on:
|
||||
# Prevent race conditions when PR is updated mid-test
|
||||
# Cancels old test runs when new build completes with different SHA
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.ref }}-${{ github.event.workflow_run.head_sha || github.sha }}
|
||||
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user