-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Feature request: Skip only same ref #72
Comments
Yes it should be very easy to implement, so the question is which options are both easy to understand and versatile enough.
Please let me know which of those makes sense, or perhaps we could do something more understandable with refs. |
Although I was not planning any new feature, I took quick action to implement your request with #73. Therefore, if you set |
My initial implementation of |
Wow, that was quick. Thanks for implementing this, it seems to solve my use case. I think it might still be a good idea for you to expose internal variables like this as additional output variables. This will allow users to implement more complicated use cases independently and decrease the maintenance burden on your part. |
Thanks for your suggestions, I agree that additional output variables can be a good idea to increase flexibility and reduce maintenance burden. |
Hi, I am using your GH action to try to prevent workflows with both
push
andpull_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 variablesame_ref
so that users can combine this flag in anif
expression however they like (I would do it myself but I don't know Typescript).The text was updated successfully, but these errors were encountered: