Skip to content

docs: add branch protection note to Push changes section#35

Draft
gaborbella-gutti wants to merge 1 commit into
mainfrom
docs/branch-protection-push-changes-note
Draft

docs: add branch protection note to Push changes section#35
gaborbella-gutti wants to merge 1 commit into
mainfrom
docs/branch-protection-push-changes-note

Conversation

@gaborbella-gutti

Copy link
Copy Markdown

What

Adds a note to the "Updating a bitrise.yml stored in the repository" section explaining that branch protection rules requiring PRs will cause the Push to current branch option to fail with a "Could not update file: Changes must be made through a pull request." error, and that Create a new branch should be used instead.

Why

This is a real user-facing error with no current explanation in the docs. The workaround (use Create a new branch) is already available in the UI but wasn't documented.

@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant