Skip to content

Commit f998c63

Browse files
authoredJan 31, 2025··
Github actions: an unfinished job in a PR should be overwritten (#4648)
1 parent 3cbb62e commit f998c63

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎.github/workflows/unittests.yml

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
# The branches below must be a subset of the branches above
88
branches: [master]
99

10+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: ${{ !contains(github.ref, 'master')}}
14+
1015
permissions:
1116
contents: read
1217

0 commit comments

Comments
 (0)
Please sign in to comment.