From 9080ae130521bcc4b4cf4022d70c57381ac3e766 Mon Sep 17 00:00:00 2001 From: Igor Zubkov Date: Fri, 2 Oct 2026 15:42:09 +0200 Subject: [PATCH] Add concurrency limit --- .github/workflows/dependency-review.yml | 4 ++++ .github/workflows/docker.yml | 4 ++++ .github/workflows/scorecards.yml | 4 ++++ .github/workflows/zizmor.yml | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index a3575e4..0a70c7a 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -12,6 +12,10 @@ on: [pull_request] permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: dependency-review: runs-on: ubuntu-latest diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c38643a..cb51fed 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -8,6 +8,10 @@ on: schedule: - cron: "0 21 * * 6" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: build: runs-on: ubuntu-24.04 diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 9fab901..f400285 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -17,6 +17,10 @@ on: # Declare default permissions as read only. permissions: read-all +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: analysis: name: Scorecard analysis diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 9793ed0..88b02d6 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -13,6 +13,10 @@ on: permissions: {} +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: zizmor: runs-on: ubuntu-24.04