From 0ca31f4fea29e127da26dd1e990627697d7d8a0e Mon Sep 17 00:00:00 2001 From: Sami Ahmed Siddiqui Date: Fri, 16 Aug 2024 15:20:50 +0500 Subject: [PATCH] Update concurrency --- .github/workflows/coding-standards.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 111ce78..3a2d0dc 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -20,12 +20,13 @@ on: # Changes to workflow files should always verify all workflows are successful. - '.github/workflows/*.yml' workflow_dispatch: - # Cancels all previous workflow runs for pull requests that have not completed. - concurrency: - # The concurrency group contains the workflow name and the branch name for pull requests - # or the commit hash for any other events. - group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} - cancel-in-progress: true + +# Cancels all previous workflow runs for pull requests that have not completed. +concurrency: + # The concurrency group contains the workflow name and the branch name for pull requests + # or the commit hash for any other events. + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} + cancel-in-progress: true # Disable permissions for all available scopes by default. # Any needed permissions should be configured at the job level.