zhengruifeng commented on code in PR #53008:
URL: https://github.com/apache/spark/pull/53008#discussion_r2517107320
##########
.github/workflows/build_and_test.yml:
##########
@@ -53,6 +53,9 @@ on:
codecov_token:
description: The upload token of codecov.
required: false
+concurrency:
+ group: build-test-${{ github.workflow }}-${{ github.repository ==
'apache/spark' && github.run_id || github.ref }}
+ cancel-in-progress: true
Review Comment:
It seems we can follow the
[example](https://docs.github.com/en/enterprise-cloud@latest/actions/how-tos/write-workflows/choose-when-workflows-run/control-workflow-concurrency#example-only-cancel-in-progress-jobs-on-specific-branches)
with
```
cancel-in-progress: ${{ github.repository != 'apache/spark'}}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]