HyukjinKwon commented on code in PR #50984: URL: https://github.com/apache/spark/pull/50984#discussion_r2101934211
########## .github/workflows/release.yml: ########## @@ -76,7 +76,9 @@ jobs: name: Release Apache Spark (dryrun and RC) runs-on: ubuntu-latest # Do not allow dispatching this workflow manually in the main repo. - if: ${{ !(github.repository == 'apache/spark' && inputs.branch != '' && inputs.release-version != '') }} + # and skip this workflow in forked repository when running as a + # scheduled job (dryrun). + if: ${{ (github.repository == 'apache/spark') != (inputs.branch != '' && inputs.release-version != '') }} Review Comment: So we allow runs in Apache Spark repo only for dryruns, and runs in manual dispatch in forked repositories. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org