-
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
Hi, I am using your GH action to try to prevent workflows with both push
and pull_request
trigger from running twice for a PR. The problem is that this also prevents the workflow from running again when the PR is eventually merged into master. Some jobs in the workflow (for example deployment) only run on the master branch and get cancelled even though they didn't run in the PR before. Would it be possible to add the option to only skip when the contents and ref are identical? I think this should be fairly easy to implement by adding another output variable same_ref
so that users can combine this flag in an if
expression however they like (I would do it myself but I don't know Typescript).
Metadata
Metadata
Assignees
Labels
No labels