aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/scorecard.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/scorecard.yml')
-rw-r--r--.github/workflows/scorecard.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index a71f9f8..9b544e6 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -14,6 +14,10 @@ on:
push:
branches: [ "master" ]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
# Declare default permissions as read only.
permissions: read-all