Skip to content

Document feature branch workflow and tighten main branch protection#8

Merged
MaksimShevtsov merged 4 commits into
mainfrom
002-branch-protection-and-workflow
Feb 17, 2026
Merged

Document feature branch workflow and tighten main branch protection#8
MaksimShevtsov merged 4 commits into
mainfrom
002-branch-protection-and-workflow

Conversation

@MaksimShevtsov
Copy link
Copy Markdown
Owner

@MaksimShevtsov MaksimShevtsov commented Feb 17, 2026

Summary

  • Enable branch protection on main: direct pushes, force-pushes, and deletions are blocked
  • Require 1 PR approval before merging; stale reviews are dismissed when new commits arrive
  • Require branch to be up-to-date with main before merging
  • Add Branching Strategy section to CONTRIBUTING.md with naming convention (NNN-short-description) and step-by-step workflow
  • Expand PR process checklist to include CHANGELOG.md update and all CI checks

Test plan

  • Verify a direct git push origin main is rejected
  • Verify a PR from a feature branch can be opened and merged normally

🤖 Generated with Claude Code

- Require feature branches for all PRs (no direct commits to main)
- Branch naming convention: NNN-short-description
- Branch protection: dismiss stale reviews, require branch up-to-date
- CONTRIBUTING.md: add Branching Strategy section and updated PR process

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 17, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates contributor documentation to reflect a feature-branch-only workflow aligned with newly protected main, and expands the PR checklist to include changelog and CI verification.

Changes:

  • Add a Branching Strategy section describing main protection, branch naming, and the feature branch workflow.
  • Update the Pull Request Process steps and local verification commands (pytest/ruff/mypy).
  • Expand the checklist to include updating CHANGELOG.md under [Unreleased] and keeping the branch up-to-date with main.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CONTRIBUTING.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@MaksimShevtsov
Copy link
Copy Markdown
Owner Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 17, 2026

@MaksimShevtsov I've opened a new pull request, #9, to work on those changes. Once the pull request is ready, I'll request review from you.

Fix branch name inconsistency in CONTRIBUTING.md example
@MaksimShevtsov MaksimShevtsov merged commit 2c5758d into main Feb 17, 2026
7 checks passed
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.

4 participants