You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now it is working for any PR which has target branch "main", But If we create PR which have base branch "main" (Protected branch) it is not working. It fails at the final step of "Push changes".
Error:
Run git push origin main -f
remote: error: GH006: Protected branch update failed for refs/heads/main.
remote:
remote: - Changes must be made through a pull request.
To https://github.com/growupanand/ConvoForm
! [remote rejected] main -> main (protected branch hook declined)
error: failed to push some refs to 'https://github.com/growupanand/ConvoForm'
Error: Process completed with exit code 1.
Solution
Find a way to push or force push changes to protected branch in a workflow.
The text was updated successfully, but these errors were encountered:
Right now it is working for any PR which has target branch "main", But If we create PR which have base branch "main" (Protected branch) it is not working. It fails at the final step of "Push changes".
Error:
Solution
Find a way to push or force push changes to protected branch in a workflow.
The text was updated successfully, but these errors were encountered: