We follow a strict feature branch workflow to ensure the stability of the main
branch.
-
Status: Protected.
-
Rule: NEVER DELETE
main. It is the primary branch. -
Usage: Contains stable code. Do not commit directly to
main; always usea Pull Request.
- Create a Feature Branch
- Naming convention:
feature/name-of-feature,fix/issue-description, or
- Naming convention:
`chore/task-name`.
- Example:
fix-ci-build.
-
Make Changes
- Commit your changes to your feature branch.
-
Open a Pull Request
- Open a PR targeting
main. - Ensure all checks pass (CI, Ruff).
- Request review if required.
- Open a PR targeting
-
Merge & Delete Feature Branch
- Once the PR is approved and merged, delete the feature branch (e.g.,
`fix-ci-build`).
- Do NOT delete
main.
This repository uses branch protection rules for main.
- Require status checks to pass before merging.
- Require review from Code Owners.
- Include administrators.
- Restrict deletions.
- We use
rufffor linting and formatting. - Follow PEP 8 guidelines.