diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index db43ddb..d899241 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,6 +8,10 @@ on: pull_request: branches: [master] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/standard-build.yaml b/.github/workflows/standard-build.yaml index 76be2e1..c2f59d0 100644 --- a/.github/workflows/standard-build.yaml +++ b/.github/workflows/standard-build.yaml @@ -7,6 +7,10 @@ defaults: run: shell: bash +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: # renovate: datasource=github-releases depName=aquasecurity/trivy TRIVY_VERSION: 0.67.2 diff --git a/.github/workflows/standard-lint.yaml b/.github/workflows/standard-lint.yaml index db4b7ef..3b321f3 100644 --- a/.github/workflows/standard-lint.yaml +++ b/.github/workflows/standard-lint.yaml @@ -7,6 +7,10 @@ defaults: run: shell: bash +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + env: # renovate: datasource=pypi depName=zizmor ZIZMOR_VERSION: 1.15.2 diff --git a/.github/workflows/standard-release.yaml b/.github/workflows/standard-release.yaml index 4976000..6e1a87d 100644 --- a/.github/workflows/standard-release.yaml +++ b/.github/workflows/standard-release.yaml @@ -7,6 +7,10 @@ defaults: run: shell: bash +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: workflow_call: inputs: