From 1317670f907dead29fea246309857444a2390f11 Mon Sep 17 00:00:00 2001 From: Debjani Chatterjee Date: Fri, 7 Aug 2026 00:25:59 +0530 Subject: [PATCH] Document that main is PR-only under branch protection. --- CONTRIBUTING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4b9b3cf..0660515 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -178,6 +178,17 @@ Config: [`.coderabbit.yaml`](.coderabbit.yaml). Create Agentic key → repo secr ## Pull requests +**`main` is protected** — no direct pushes. Branch → PR → merge. + +```bash +git checkout -b my-change +# …edit… +npm run ci +git push -u origin HEAD +gh pr create +gh pr merge # after CI is green (when runners pick up the job) +``` + - [ ] `npm run ci` (or push — pre-push hook runs it) - [ ] User-facing changes → `CHANGELOG.md` + README if needed - [ ] Release notes → this file’s **Releasing** section