diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index ec51de87..560ce655 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -2,10 +2,7 @@ name: Go Benchmark on: pull_request: - branches: - - main - - development - - feature/** + push: workflow_dispatch: concurrency: diff --git a/.github/workflows/cerberus-integration.yml b/.github/workflows/cerberus-integration.yml index 8a26fc50..23c299b6 100644 --- a/.github/workflows/cerberus-integration.yml +++ b/.github/workflows/cerberus-integration.yml @@ -10,6 +10,7 @@ on: required: false type: string pull_request: + push: # Prevent race conditions when PR is updated mid-test # Cancels old test runs when new build completes with different SHA diff --git a/.github/workflows/codecov-upload.yml b/.github/workflows/codecov-upload.yml index 54ed8483..50fe9cb8 100644 --- a/.github/workflows/codecov-upload.yml +++ b/.github/workflows/codecov-upload.yml @@ -2,9 +2,7 @@ name: Upload Coverage to Codecov on: pull_request: - branches: - - main - - development + push: workflow_dispatch: inputs: run_backend: diff --git a/.github/workflows/crowdsec-integration.yml b/.github/workflows/crowdsec-integration.yml index 3e8409f3..9afb550a 100644 --- a/.github/workflows/crowdsec-integration.yml +++ b/.github/workflows/crowdsec-integration.yml @@ -10,6 +10,7 @@ on: required: false type: string pull_request: + push: # Prevent race conditions when PR is updated mid-test # Cancels old test runs when new build completes with different SHA diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index c6559fa2..81a57851 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -22,9 +22,7 @@ name: Docker Build, Publish & Test on: pull_request: - branches: - - main - - development + push: workflow_dispatch: concurrency: diff --git a/.github/workflows/e2e-tests-split.yml b/.github/workflows/e2e-tests-split.yml index eb4bdb9b..e6d38cdb 100644 --- a/.github/workflows/e2e-tests-split.yml +++ b/.github/workflows/e2e-tests-split.yml @@ -80,9 +80,7 @@ on: default: false type: boolean pull_request: - branches: - - main - - development + push: env: NODE_VERSION: '20' diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml index c6879684..e96319bd 100644 --- a/.github/workflows/quality-checks.yml +++ b/.github/workflows/quality-checks.yml @@ -2,7 +2,8 @@ name: Quality Checks on: pull_request: - branches: [ main, development ] + push: + concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/.github/workflows/rate-limit-integration.yml b/.github/workflows/rate-limit-integration.yml index 805b45c2..5b11e512 100644 --- a/.github/workflows/rate-limit-integration.yml +++ b/.github/workflows/rate-limit-integration.yml @@ -10,6 +10,7 @@ on: required: false type: string pull_request: + push: # Prevent race conditions when PR is updated mid-test # Cancels old test runs when new build completes with different SHA diff --git a/.github/workflows/security-pr.yml b/.github/workflows/security-pr.yml index 2ffa0fae..4fb2c6d2 100644 --- a/.github/workflows/security-pr.yml +++ b/.github/workflows/security-pr.yml @@ -11,6 +11,8 @@ on: required: false type: string pull_request: + push: + concurrency: group: security-pr-${{ github.event.workflow_run.event || github.event_name }}-${{ github.event.workflow_run.head_branch || github.ref }} diff --git a/.github/workflows/supply-chain-pr.yml b/.github/workflows/supply-chain-pr.yml index bb4677b4..a61c2347 100644 --- a/.github/workflows/supply-chain-pr.yml +++ b/.github/workflows/supply-chain-pr.yml @@ -10,6 +10,7 @@ on: required: false type: string pull_request: + push: concurrency: group: supply-chain-pr-${{ github.event.workflow_run.event || github.event_name }}-${{ github.event.workflow_run.head_branch || github.ref }} diff --git a/.github/workflows/waf-integration.yml b/.github/workflows/waf-integration.yml index ee180253..529b1636 100644 --- a/.github/workflows/waf-integration.yml +++ b/.github/workflows/waf-integration.yml @@ -10,6 +10,7 @@ on: required: false type: string pull_request: + push: # Prevent race conditions when PR is updated mid-test # Cancels old test runs when new build completes with different SHA