From 835655604492bf878a3d7d3587a67581723f5f3f Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 19 Sep 2022 21:00:57 -0600 Subject: [PATCH] Updated .github/workflows/codacy-analysis.yml --- .github/workflows/codacy-analysis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index f4b53a22716..57def0b1f37 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -19,6 +19,11 @@ on: jobs: codacy-security-scan: + # Cancel other workflows that are running for the same branch + # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true name: Codacy Security Scan runs-on: ubuntu-latest steps: