-
Notifications
You must be signed in to change notification settings - Fork 106
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
Force push #264
Comments
I'm also running into a similar problem where we can't setup branch protections without breaking the use of this action. Is there a way to circumvent that issue? |
You can change the user that is used when committing, maybe add your own info/user there and configure that user to allow bypassing the checks. There is also a medium post: https://medium.com/swlh/bump-bump-bump-d0dab616e83 |
tried both, adding username, email of repo admin and also using token as mentioned in Medium post,
|
I was able to fix this issue by also adding the token in the checkout step which is a precursor step in my case before using this action.
P.S ; Along with the above change you will still have to setup new github user, create the PAT & provide neccessary permissions.. |
Required to have force push option,
If we have main branch with protection rule that no one else can directly push to branch so force push can help there for allowing to push code from workflow actions
The text was updated successfully, but these errors were encountered: