Paperclip-Agent: Diana Neves (urlKey diana-neves; id 4427016d-7e8f-46e9-9694-3d062e78cc3a) Paperclip-Issue: BIT-3492
35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
# Contributing to news-platform
|
|
|
|
This guide defines the minimum BitReport CI/CD and code-review standards for this repository.
|
|
|
|
## Git workflow
|
|
|
|
- Branch from `main`/`master`; open pull requests for review before merge.
|
|
- Keep commits focused and include issue context in PR descriptions.
|
|
- Do not push tool-advertising commit trailers (`Made-with:`, vendor bot `Co-Authored-By:`).
|
|
|
|
## Code review standards
|
|
|
|
All pull requests require:
|
|
|
|
1. At least one code-owner approval from [`.gitea/CODEOWNERS`](./.gitea/CODEOWNERS).
|
|
2. All configured CI checks green before merge.
|
|
3. Protected branch policies respected for default branches.
|
|
|
|
### Review checklist
|
|
|
|
- [ ] Implementation matches issue scope and acceptance criteria.
|
|
- [ ] Tests/lint/build were run locally where applicable.
|
|
- [ ] Documentation was updated when behavior changed.
|
|
- [ ] No credentials/secrets were committed.
|
|
|
|
### CODEOWNERS
|
|
|
|
This repository uses [`.gitea/CODEOWNERS`](./.gitea/CODEOWNERS) for review routing. Use real `git.bitreport.pt` usernames.
|
|
|
|
## Commit messages
|
|
|
|
- Use clear, imperative subjects.
|
|
- Add context in the body when needed.
|
|
- Never add tool-marketing footers or vendor noreply co-author lines.
|