Skip to content

Commit 9b67036

Browse files
committed
Configure GitHub workflow to cancel previous PR check in case of new
commits on same PR It will save some resources in case of new commit on a branch PR and PR checks were not finished Apache committers can see recommendations here https://cwiki.apache.org/confluence/pages/viewpage.action?spaceKey=INFRA&title=GitHub+Actions+Recommended+Practices Signed-off-by: Aurélien Pupier <apupier@ibm.com>
1 parent e260799 commit 9b67036

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/pr-build-main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ on:
2727
- NOTICE.txt
2828
- LICENSE.txt
2929

30+
concurrency:
31+
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
32+
cancel-in-progress: true
33+
3034
jobs:
3135
compile:
3236
if: github.repository == 'apache/camel-performance-tests'

0 commit comments

Comments
 (0)