Skip to content

Commit 8295911

Browse files
committed
Limit Klocwork main branch scan to single workflow run at any given time
kwadmin: Cannot load project '***': Cannot run build until the previous build is finished
1 parent e07e0c7 commit 8295911

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/klocwork-main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
name: Klocwork main branch scan
77

8+
# Limit to single workflow run at any given time.
9+
# kwadmin cannot load the same Klocwork project multiple times in parallel.
10+
# https://github.blog/changelog/2021-04-19-github-actions-limit-workflow-run-or-job-concurrency/
11+
concurrency: klocwork
12+
813
# https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
914
permissions:
1015
# Grant read permissions to repository in case it is not a forked public

0 commit comments

Comments
 (0)