From 8bc1509166a05521489b0448444c717c8f459ecf Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Tue, 25 Jul 2023 14:23:28 +0200 Subject: [PATCH] ci: avoid running same workflow multiple times on the same PR at the same time --- .github/workflows/codeql-analysis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 19341f0eb..4bdaad70d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,6 +20,10 @@ on: schedule: - cron: "21 1 * * 0" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: analyze: name: Analyze