summaryrefslogtreecommitdiff
path: root/.github/workflows/image-scan.yml
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2025-03-09 20:25:10 -0400
committerGitHub <noreply@github.com>2025-03-09 20:25:10 -0400
commita378c6d544ad43143939e2b247751279abec8019 (patch)
tree9574e6dffb4a3a852de6f800db08ac1b74f63391 /.github/workflows/image-scan.yml
parentbfa6b9dcef7592e6dd8225aaa0d0ab5aef5b3f84 (diff)
chore(ci): Run all workflows in concurrency groups, and cancel in-progress for efficiency (#2346)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to '.github/workflows/image-scan.yml')
-rw-r--r--.github/workflows/image-scan.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/image-scan.yml b/.github/workflows/image-scan.yml
index 16405792..2b1370c5 100644
--- a/.github/workflows/image-scan.yml
+++ b/.github/workflows/image-scan.yml
@@ -6,6 +6,10 @@ on:
pull_request:
branches: [ main ]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
jobs:
image-scan:
permissions: