feat: add branch protection configuration file#429
Closed
Conversation
- Create .github/settings.yml with comprehensive branch protection rules - Define required status checks for main branch: * Build verification across Node 18, 20, 22 * Code quality checks (ESLint, TypeScript type checking) * Test coverage with regression detection * Examples testing * Security scanning (CodeQL, Trivy container scans) * PR title validation - Require 1 approving review - Enforce up-to-date branches before merge - Document configuration in CONTRIBUTING.md Closes #348 Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
The pr-title job doesn't define an explicit name field, so GitHub uses the job ID as the status check name. Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add branch protection configuration file
feat: add branch protection configuration file
Jan 26, 2026
This was referenced Jan 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Branch protection rules were configured manually in the GitHub UI, creating risk of drift and loss during repository operations. This adds version-controlled protection rules via Probot Settings App.
Changes
.github/settings.yml: Branch protection configuration formainstrict: true)CONTRIBUTING.md: Document branch protection requirements and settings file usageConfiguration
Status check names verified against workflow job definitions. Settings managed by Probot Settings App.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.