From 5c0ade78d7966bfcd5ed2ee5d490131b68b0c36f Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Wed, 26 Jul 2023 17:42:44 +0200 Subject: [PATCH] ci: Cancel concurrent runs (#1153) * Update codeql-analysis.yml * Update semantic-pr.yml * Update quality_check.yml --- .github/workflows/codeql-analysis.yml | 4 ++++ .github/workflows/quality_check.yml | 4 ++++ .github/workflows/semantic-pr.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0009d36bae..3309443445 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,6 +6,10 @@ on: schedule: - cron: '0 9 * * 1' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: CodeQL-Build: diff --git a/.github/workflows/quality_check.yml b/.github/workflows/quality_check.yml index c3b5fe10a9..5ef6994980 100644 --- a/.github/workflows/quality_check.yml +++ b/.github/workflows/quality_check.yml @@ -11,6 +11,10 @@ on: - "**.pot" - "**.po" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: unit-test: runs-on: ubuntu-latest diff --git a/.github/workflows/semantic-pr.yml b/.github/workflows/semantic-pr.yml index 319309251d..7a2c0bda32 100644 --- a/.github/workflows/semantic-pr.yml +++ b/.github/workflows/semantic-pr.yml @@ -7,6 +7,10 @@ on: - edited - synchronize +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: main: name: Validate PR title