Problem
The v1.20.2 draft release notes thank upstream OpenCode authors as bolt-cli community contributors:
- @fwang:
zen: update doc and the raw merge commit Merge branch 'dev' of github.com:anomalyco/opencode into dev
- @OpeOginni:
fix(app): prevent stale prompt control reads (#39842) (an upstream PR number)
These commits entered via the upstream sync merge (43432a4, PR #120 by pull[bot]), not via contributions to this repo. contributors() in script/raw-changelog.ts iterates every commit in the compare range with no merge-commit or origin filtering.
Fix
In script/raw-changelog.ts:
- Skip merge commits (parent count > 1) when collecting contributors.
- Attribute a commit to a community contributor only when an associated pull request in this repo was authored by that same user (
GET /repos/{repo}/commits/{sha}/pulls). Upstream commits only associate with the sync PR (authored by pull[bot] or a team member), so they are excluded; genuine community PRs pass.
Problem
The v1.20.2 draft release notes thank upstream OpenCode authors as bolt-cli community contributors:
zen: update docand the raw merge commitMerge branch 'dev' of github.com:anomalyco/opencode into devfix(app): prevent stale prompt control reads (#39842)(an upstream PR number)These commits entered via the upstream sync merge (
43432a4, PR #120 by pull[bot]), not via contributions to this repo.contributors()inscript/raw-changelog.tsiterates every commit in the compare range with no merge-commit or origin filtering.Fix
In
script/raw-changelog.ts:GET /repos/{repo}/commits/{sha}/pulls). Upstream commits only associate with the sync PR (authored by pull[bot] or a team member), so they are excluded; genuine community PRs pass.