From 805c286dc3a83757088bb0525fc64bb4530a7f65 Mon Sep 17 00:00:00 2001 From: chgl <5307555+chgl@users.noreply.github.com> Date: Wed, 5 Nov 2025 11:50:26 +0100 Subject: [PATCH] ci: set concurrency limits --- .github/workflows/ci.yaml | 4 ++++ .github/workflows/standard-build.yaml | 4 ++++ .github/workflows/standard-lint.yaml | 4 ++++ .github/workflows/standard-release.yaml | 4 ++++ 4 files changed, 16 insertions(+) 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: