mik-laj opened a new pull request #6429:
URL: https://github.com/apache/incubator-pinot/pull/6429


   ## Description
   This PR aims to reduce the GitHub Action usage by canceling the previous 
build. In most case, the last commit is meaningful.
   
   We want to support fork as well, so we have to use workflow_run, so this 
change will only take effect after merging.
   
   >  If you use forks, you should create a separate "Cancelling" workflow_run 
triggered workflow. The workflow_run should be responsible for all canceling 
actions. The examples below show the possible ways the action can be utilized.
   
   https://github.com/potiuk/cancel-workflow-runs#usage
   
   > Note: This event will only trigger a workflow run if the workflow file is 
on the default branch.
   
   
https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_run
   
   Similar PRs in other Apache projects;
   Apache Spark: https://github.com/apache/spark/pull/31104
   Apache Pulsar: https://github.com/apache/pulsar/pull/9159
   
   INfRA Mailing lists discussion: 
https://lists.apache.org/thread.html/r5303eec41cc1dfc51c15dbe44770e37369330f9644ef09813f649120%40%3Cbuilds.apache.org%3E
 
   
   @potiuk Can I ask for a review?
   
   ## Upgrade Notes
   N/A
   ## Release Notes
   N/A
   ## Documentation
   N/A


----------------------------------------------------------------
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: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to