mirror of
https://github.com/pnpm/pnpm.git
synced 2026-06-28 09:55:39 -04:00
* chore: stop configuring CodeRabbit pre-merge checks Defining any pre-merge check turned on the whole pre-merge-checks subsystem, which under Request Changes Workflow replaces the auto-approve flow: CodeRabbit emits a pre-merge-checks status block instead of approving once review threads are resolved, leaving PRs at REVIEW_REQUIRED even with all threads cleared and all checks green. Remove the title check (added in pnpm/pnpm#12460) to restore auto-approval and document why the block is intentionally absent. Conventional Commits on the squash title stay covered by the commit-msg hook and the squash-title convention. * fix: declare Qodo auto-approval under [config] enable_auto_approval and auto_approve_for_no_suggestions were declared under [pr_reviewer], where Qodo never reads them, so auto-approval never ran. Per the Qodo docs both keys belong under [config]. Move them and drop the now-empty [pr_reviewer] section. * chore: stop applying labels from Qodo Product labels are applied by CodeRabbit (auto_apply_labels + labeling_instructions in .coderabbit.yaml). Having Qodo also publish labels via enable_custom_labels/publish_labels/custom_labels meant two tools managing the same labels. Drop the Qodo label config and leave labeling to CodeRabbit. * ci: tag Qodo-approved PRs and fix the label step Add an on-qodo-approval job that applies the 'reviewed: qodo' label when qodo-free-for-open-source-projects[bot] approves, mirroring the existing CodeRabbit job. The label step used 'gh pr edit --add-label', which is broken (it errors on the deprecated Projects-v1 GraphQL field), so adding the label failed on approval. Switch all three jobs to the issues REST API (POST /repos/{owner}/{repo}/issues/{number}/labels) instead.