Commit Detail
Commit 356f4dc
Pin opencode version in Bonk workflows, prevent auto-reviewer pushes Bonk (our AI PR reviewer) was committing auto-generated .opencode/package.json changes to PR branches, causing merge conflicts across PRs. Root cause: opencode regenerates package.json at startup with the plugin version matching its CLI version, and in CI the auto-generated .opencode/.gitignore doesn't exist in the checkout, so git sees the file as dirty. Three fixes: 1. Pin opencode_version to 1.2.27 in all three Bonk workflows. This prevents version drift that would modify package.json, and avoids the partially- published-release breakage from ask-bonk/ask-bonk#143. 2. Add .opencode/package.json, bun.lock, and .gitignore to the root .gitignore. These are runtime artifacts auto-generated by opencode. The root .gitignore is committed (unlike the auto-generated .opencode/.gitignore), so the rules work in CI checkouts too. 3. Add token_permissions: NO_PUSH to the auto-reviewer workflow. The reviewer prompt already forbids git write ops; this enforces it at the token level. Also git rm --cached .opencode/package.json to stop tracking it. Co-Authored-By: Claude <noreply@anthropic.com>
Files changed
5 files changed~4 modified-1 deleted