-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cancel previous runs of same workflow id on all branches #86
Comments
Indeed, the branch is necessary cancel-workflow-action/src/index.ts Lines 22 to 30 in ad6cb1b
We might be able to add an option for |
That's indeed what I seek! |
Great! Do you want to submit a PR? |
Much as I'd like to contribute, I don't have the bandwidth to learn this system and make the fix myself :-( |
Scenario: I have a content branch and a master branch. An identical workflow runs in case of push to either branches, resulting in race condition.
Expection: I would like to be able to cancel prior workflow runs irrespective of the branch. README file makes me think that this is currently not supported -
Example of the race conditions I want to avoid with this feature (from here):
The text was updated successfully, but these errors were encountered: