Skip to content

Commit 04a85e6

Browse files
README: model workflow: add concurrency group
Co-authored-by: Andreas Abel <[email protected]>
1 parent 7508980 commit 04a85e6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,12 @@ on:
110110
pull_request:
111111
branches: [main, master]
112112

113-
permissions:
114-
contents: read
113+
# INFO: The following configuration block ensures that only one build runs per branch,
114+
# which may be desirable for projects with a costly build process.
115+
# Remove this block from the CI workflow to let each CI job run to completion.
116+
concurrency:
117+
group: build-${{ github.ref }}
118+
cancel-in-progress: true
115119

116120
jobs:
117121
build:

0 commit comments

Comments
 (0)