From d18e3717709063f228d5789944bce1860fbc58e8 Mon Sep 17 00:00:00 2001 From: iliya Date: Mon, 26 Oct 2026 20:53:52 +0200 Subject: [PATCH 1/2] fix(ci): replace stale checks without cancelling manual runs --- .github/workflows/ci.yml | 4 ++++ .github/workflows/codeql.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3edeb10..3336474 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ on: permissions: contents: read +concurrency: + group: ci-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: go-test: runs-on: ubuntu-latest diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e2166b0..752d7d8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,6 +13,10 @@ permissions: contents: read security-events: write +concurrency: + group: codeql-${{ github.event_name }}-${{ (github.event_name == 'pull_request' || github.event_name == 'push') && (github.event.pull_request.number || github.ref) || github.run_id }} + cancel-in-progress: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }} + jobs: analyze: name: Analyze Go with CodeQL From ca8087bd1e5cca367008a22b68f996b4dd1a1cb8 Mon Sep 17 00:00:00 2001 From: iliya Date: Mon, 26 Oct 2026 22:46:50 +0200 Subject: [PATCH 2/2] fix(ci): preserve disabled CodeQL workflow policy --- .github/workflows/codeql.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 752d7d8..e2166b0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,10 +13,6 @@ permissions: contents: read security-events: write -concurrency: - group: codeql-${{ github.event_name }}-${{ (github.event_name == 'pull_request' || github.event_name == 'push') && (github.event.pull_request.number || github.ref) || github.run_id }} - cancel-in-progress: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }} - jobs: analyze: name: Analyze Go with CodeQL