Skip to content

Commit a87eca4

Browse files
committed
Gjør concurrent
1 parent 9b92170 commit a87eca4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/buildAndPublish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ on:
66
workflows: ["Run static code validation"]
77
types:
88
- completed
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
912
jobs:
1013
buildAndPublish:
1114
name: Build and Publish
15+
# Always run on workflow call and workflow dispatch
16+
# Only run on workflow_run if there has been a change in the src folder,
17+
# excluding markdown files
1218
if: ${{
1319
github.event_name == 'workflow_call' ||
1420
github.event_name == 'workflow_dispatch' ||

0 commit comments

Comments
 (0)