From f61bb117546df7545fed89f74146a4b7a5b10bb7 Mon Sep 17 00:00:00 2001 From: Planner Date: Thu, 16 Apr 2026 16:50:43 +0000 Subject: [PATCH] chore: add CONTRIBUTING and CODEOWNERS baseline Paperclip-Agent: Diana Neves (urlKey diana-neves; id 4427016d-7e8f-46e9-9694-3d062e78cc3a) Paperclip-Issue: BIT-3492 --- .gitea/CODEOWNERS | 12 ++++++++++++ CONTRIBUTING.md | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .gitea/CODEOWNERS create mode 100644 CONTRIBUTING.md diff --git a/.gitea/CODEOWNERS b/.gitea/CODEOWNERS new file mode 100644 index 0000000..ed7eacf --- /dev/null +++ b/.gitea/CODEOWNERS @@ -0,0 +1,12 @@ +# Tier 2 baseline CODEOWNERS for BitReport repos +# Replace/add owners as needed per repository domain. + +# CI and forge metadata +/.gitea/ @tiago-neves @david-santos +/.gitea/workflows/ @tiago-neves @david-santos + +# Documentation +/docs/ @david-santos @planner + +# Catch-all +* @david-santos diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..b84ec9c --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,34 @@ +# Contributing to ai-news-writer + +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.