diff --git a/.github/workflows/detectNewJavaFiles.yml b/.github/workflows/detectNewJavaFiles.yml index b64964cef7..308571a708 100644 --- a/.github/workflows/detectNewJavaFiles.yml +++ b/.github/workflows/detectNewJavaFiles.yml @@ -7,6 +7,10 @@ on: permissions: read-all +concurrency: + group: detect-new-java-files-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: detectNewJavaFiles: runs-on: ubuntu-latest diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index be44c9e6a2..77bba93938 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -9,6 +9,10 @@ on: # Declare default permissions as read only. permissions: read-all +concurrency: + group: validate-gradle-wrapper-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: validation: name: "Validation" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index e774cebe8e..294001da95 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -10,6 +10,10 @@ on: # Declare default permissions as read only. permissions: read-all +concurrency: + group: scorecard-supply-chain-security-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: analysis: name: Scorecard analysis