lhotari opened a new pull request #2464:
URL: https://github.com/apache/bookkeeper/pull/2464


   ### Motivation
   
   Currently a single user can cause the Github Actions / Workflows based CI to 
get overloaded when commits are pushed to a PR branch frequently, one by one. 
To mitigate this issue, cancel any previous Github Actions runs that are not 
completed for a given workflow,  for a particular branch / PR. This can be 
achieved by using the 
https://github.com/marketplace/actions/cancel-workflow-action .
   [There are multiple cancel actions 
available](https://github.community/t/github-actions-cancel-redundant-builds-not-solved/16025/22).
 This particular one was picked based on its popularity.
   
   ### Modifications
   
   Append each workflow with the cancel workflow action step.
   
   A similar change was made in Pulsar CI in PR 
https://github.com/apache/pulsar/pull/8393


----------------------------------------------------------------
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:
[email protected]


Reply via email to