Open
Description
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 -
this GitHub Action will capture the current Branch and SHA. It will query GitHub's API to find previous workflow runs that match the Branch but do not match the SHA.
Example of the race conditions I want to avoid with this feature (from here):