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
Branch Protection - Config File #3464
Comments
Thanks for the suggestion. The current implementation stores rules in the database for security purposes — we need to restrict branch protection rule management to repository owners and ensure regular contributors with write access could not change rules. We don't have any immediate plans to augment the approach with a file-based configuration, however, we are open to a future enhancement if we see enough demand for this capability. |
When the rules are stored in Git, this could enforce PRs against the main branch; to maintain security of rules. |
It would be quite nice if branch protection could be configured in
.harness
or.gitness
of the repositories, rather than storing this information within the database.The text was updated successfully, but these errors were encountered: