HyukjinKwon commented on a change in pull request #31121: URL: https://github.com/apache/spark/pull/31121#discussion_r554815437
########## File path: .github/workflows/cancel_duplicate_workflow_runs.yml ########## @@ -7,6 +7,7 @@ on: jobs: cancel-duplicate-workflow-runs: + if: github.event.workflow_run.event == 'pull_request' Review comment: @dongjoon-hyun, I referred to https://securitylab.github.com/research/github-actions-preventing-pwn-requests and found this way is slightly better because it's at least easier to understand. Likewise, I tested it in my fork, and updated PR description. ---------------------------------------------------------------- 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. 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