Yikun commented on code in PR #36285:
URL: https://github.com/apache/spark/pull/36285#discussion_r854708005
##########
.github/workflows/build_and_test.yml:
##########
@@ -106,6 +106,10 @@ jobs:
name: Check changes
runs-on: ubuntu-20.04
needs: configure-jobs
+ # Run scheduled jobs for Apache Spark only
+ # Run regular jobs for commit in both Apache Spark and forked repository
+ if: >-
+ (github.repository == 'apache/spark' &&
needs.configure-jobs.outputs.type == 'scheduled') ||
(needs.configure-jobs.outputs.type == 'regular')
Review Comment:
I guess `pyspark-coverage-scheduled` should also be here because
`pyspark-coverage-scheduled` are also triggered by fork repo and run a
redundant precondition?
https://github.com/apache/spark/blob/a2ac450896fd089bdbdf5447a336228fe9f8b879/.github/workflows/build_and_test.yml#L295
--
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]