Closed daczarne closed 1 month ago
@daczarne I think I figured out what your issue is 😉
Instead of update_branch: disable
you'll want it to be disabled
(with a d
at the end). I think its just that minor typo and then you should be good.
This actually makes me think that I should potentially add some code into this project that validates inputs. So you have a typo in an input it will alert you that the option is not valid.
The pre-release v9.6.0
now contains some basic input validation to help catch things like simple typos to help avoid confusion like this in the future 😃
Epic fail on my side 🫤 ... and I spent a good two/three hours going over the docs because of this.
Thanks @GrantBirki!!
Describe the Issue
I have a repository where we are using this action to deploy GitHub envs to dev for testing (different teams have different environments for themselves, in this case ours is called
qcommerce
). We have therefore set theupdate_branch
todisable
. Yet, deployments get blocked due to "branch being out of date with main".Action Configuration
Relevant Actions Log Output
Action displayed by the action on the runner (we are using GitHub runners, not self-hosted).
Extra Information
Once we update the branch and re-trigger the workflow, the error goes away (as expected). But we want to avoid this, as this is a mono-repo and we are deploying to a dev env for testing anyways.