From e6e0b61152f8c0e5af18fc1764bb1ebc0e26820e 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 f4b53a2..57def0b 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: