lhotari opened a new pull request #8393:
URL: https://github.com/apache/pulsar/pull/8393
### Motivation
Currently a single user can cause the Pulsar 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.
----------------------------------------------------------------
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]