GitHub Contribution Workflow¶
Complete Installation first. For the big picture of contributing a new analyzer (“test”), see the New Contributor Guide.
All code changes go through a fork and a pull request (PR) into the upstream main branch. Maintainers cut releases from main.
If you use AI tools while contributing, follow the project AI Use Policy.
Opening a pull request¶
-
Fork the repository on GitHub: open civictechdc/cib-mango-tree and click Fork.
-
Point Git at your fork and upstream
If you followed Installation, you likely cloned the org repo as
origin. Either re-clone your fork, or keep that clone and set remotes like this (replaceYOUR-USERNAME):git remote rename origin upstream git remote add origin https://github.com/YOUR-USERNAME/cib-mango-tree.git git remote -voriginshould be your fork;upstreamshould becivictechdc/cib-mango-tree. -
Create a branch from an up-to-date
main. Name it after the work (examples:issue_433,fix/…,docs/…,feature/…):git checkout main git pull upstream main git checkout -b issue_123 -
Commit and push to your fork:
git add . git commit -m "Describe the change and why." git push -u origin issue_123 -
Open the pull request on civictechdc/cib-mango-tree: Pull requests → New pull request → Compare across forks. Base = org
main; compare = your fork’s branch. Fill in the PR template, link the issue when there is one (Fixes #123/Closes #123), wait for CI, and address review feedback. -
Keep
mainsynced with upstream, and after merge delete the feature branch on your fork:git checkout main git pull upstream main git push origin main git branch -d issue_123 git push origin --delete issue_123
Tips¶
- Prefer one concern per PR (the PR template asks you to limit type and scope).
- Docs-only and UX-handoff changes still use this same fork/PR flow; CI may skip some jobs for paths that do not affect the app.
- For release cutovers, maintainers follow the Release Checklist on the wiki — contributors normally do not need the Release PR template.