From 07d2f4907c30f8bdf5daff2b6fc740f8d2533249 Mon Sep 17 00:00:00 2001 From: Faye Amacker <33205765+fxamacker@users.noreply.github.com> Date: Mon, 16 Sep 2024 11:01:26 -0500 Subject: [PATCH] Update codeql-analysis.yml Add the boilerplate setting to cancel prior run for same PR, etc. --- .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 672dcd3..8880b6e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,6 +17,10 @@ on: schedule: - cron: '30 5 * * 4' +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }} + cancel-in-progress: true + jobs: analyze: name: Analyze