You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/10/28 15:51:02 UTC

[GitHub] [bookkeeper] lhotari opened a new pull request #2464: [Build] Use Cancel workflow action to cancel outdated PR build jobs

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:
users@infra.apache.org



[GitHub] [bookkeeper] Ghatage merged pull request #2464: [Build] Use Cancel workflow action to cancel outdated PR build jobs

Posted by GitBox <gi...@apache.org>.
Ghatage merged pull request #2464:
URL: https://github.com/apache/bookkeeper/pull/2464


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [bookkeeper] lhotari commented on pull request #2464: [Build] Use Cancel workflow action to cancel outdated PR build jobs

Posted by GitBox <gi...@apache.org>.
lhotari commented on pull request #2464:
URL: https://github.com/apache/bookkeeper/pull/2464#issuecomment-718064564


   > Just for my info, can you please explain why we're choosing `0.6.0`? Is that the latest?
   
   yes, it's the latest. I used the code snippet from https://github.com/marketplace/actions/cancel-workflow-action .
   
   


----------------------------------------------------------------
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:
users@infra.apache.org