diff --git a/.github/workflows/pr_codeql.yml b/.github/workflows/pr_codeql.yml index f1fb50d463..a316b38777 100644 --- a/.github/workflows/pr_codeql.yml +++ b/.github/workflows/pr_codeql.yml @@ -23,6 +23,10 @@ on: schedule: - cron: '39 20 * * 0' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: analyze: if: github.event.pull_request.draft == false diff --git a/.github/workflows/pr_dependency-review.yaml b/.github/workflows/pr_dependency-review.yaml index a241701673..f32635858b 100644 --- a/.github/workflows/pr_dependency-review.yaml +++ b/.github/workflows/pr_dependency-review.yaml @@ -16,6 +16,10 @@ on: paths: - pyproject.toml +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + permissions: contents: read diff --git a/.github/workflows/pr_tests.yaml b/.github/workflows/pr_tests.yaml index 59c2de5fd4..a2b545c759 100644 --- a/.github/workflows/pr_tests.yaml +++ b/.github/workflows/pr_tests.yaml @@ -12,6 +12,10 @@ on: types: - checks_requested +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: static_analysis: if: github.event.pull_request.draft == false