mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #339] fix(detect-unreviewed): require human approval #339
Labels
No labels
cursor-review-catalog-drift
groom
groom
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/github-workflows#339
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/github-workflows/pull/339
Author: @christian-byrne
Created: 10/2/2026
Status: 🔄 Open
Base:
main← Head:fix/detect-unreviewed-human-approvals📝 Commits (2)
a782f18fix(detect-unreviewed): require human approvala4d905ffix(detect-unreviewed): fail closed on review identity📊 Changes
4 files changed (+223 additions, -5 deletions)
View changed files
➕
.github/detect-unreviewed-merge/tests/approval.test.cjs(+177 -0)📝
.github/workflows/detect-unreviewed-merge.yml(+10 -4)➕
.github/workflows/test-detect-unreviewed-merge.yml(+30 -0)📝
docs/callers/detect-unreviewed-merge.md(+6 -1)📄 Description
Summary
type: Botfrom approval evidence in both detector modesReproduction
ComfyUI_frontend #19867 had no human
APPROVEDreview. Its onlyAPPROVEDreview was fromcoderabbitai[bot], but Detect Unreviewed Merge run 37010691881 loggedPR has an approving review — no action needed, so no tracker issue was created.Root cause: both
any-approvalandlatest-per-reviewertested review state without checkingreview.user.type. The detector therefore treated bot approval as SOC 2 peer-review evidence.Acceptance criteria
APPROVEDreview suppresses tracker creationAPPROVEDreview creates the same tracker record as no approvallatest-per-reviewerandany-approvalobey the human-only ruleValidation
node --test .github/detect-unreviewed-merge/tests/*.test.cjs(4 passed)python3 -m unittest discover -s .github/workflow-pins/tests -p 'test_*.py' -v(502 passed, 29 skipped)python3 .github/workflow-pins/check_workflow_pins.pygit diff --check🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.