diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b90815b380..109ca3bfb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: permissions: contents: write concurrency: - group: ${{ github.head_ref }} + group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true name: Linux ${{matrix.cfg.arch}} (${{matrix.cfg.cpp-version}}) runs-on: ${{matrix.cfg.os}} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d0ef6bc4ff..80e61df70c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -35,6 +35,10 @@ jobs: # CodeQL supports [ $supported-codeql-languages ] # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + steps: - name: Harden Runner uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index bf5ad83417..3394518584 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -21,7 +21,7 @@ jobs: concurrency: group: docs-deployment - cancel-in-progress: false + cancel-in-progress: true steps: - name: Harden Runner diff --git a/.github/workflows/gitguardian.yml b/.github/workflows/gitguardian.yml index b5fa86419b..8963a6e766 100644 --- a/.github/workflows/gitguardian.yml +++ b/.github/workflows/gitguardian.yml @@ -9,6 +9,9 @@ jobs: scanning: name: GitGuardian scan runs-on: ubuntu-latest + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true steps: - name: Harden Runner uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1