mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #37] [MERGED] ci: enroll this repo in its own cursor-review and unreviewed-merge gates #46
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#46
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/37
Author: @mattmillerai
Created: 7/19/2026
Status: ✅ Merged
Merged: 7/19/2026
Merged by: @mattmillerai
Base:
main← Head:self-enroll-ci-gates📝 Commits (2)
2fd96a9ci: enroll this repo in its own cursor-review and unreviewed-merge gatesf301ba6ci: label-trigger the self-caller; add run_without_label input to the reusable gate📊 Changes
3 files changed (+103 additions, -0 deletions)
View changed files
➕
.github/workflows/ci-cursor-review.yml(+46 -0)➕
.github/workflows/ci-detect-unreviewed-merge.yml(+32 -0)📝
.github/workflows/cursor-review.yml(+25 -0)📄 Description
What
github-workflows ships the org's cursor-review panel, its unreviewed-merge detector, and (since #34) the AGENTS.md integrity check — and consumed none of them on itself. PRs here (e.g. #34, #36) merge with no AI review, no approval requirement, and no compliance trail, in the one repo whose files become every other repo's required checks. This enrolls the repo in its own gates:
ci-cursor-review.yml— SHA-pinned to this repo's own merged main, exactly like an external consumer. A localuses: ./…path would run the PR's own copy of the reviewer, letting a PR weaken the panel judging it — pinning keeps the reviewer tamper-proof. Label-triggered for now (the pinned gate only honors label events — verified live on this PR's first push, where a direct trigger ran the shell and skipped the panel).cursor-review.ymlgains an opt-inrun_without_labelinput (default false — zero change for existing callers): plain PR events fire the panel, with the fork skip,skip-cursor-reviewveto, and same-commit dedupe still applying. Once the auto-bump advances this repo's own pin past this merge, the bump PR should flip the caller torun_without_label: trueand widen its trigger types (noted in the caller header) — this repo has no labeling automation.ci-detect-unreviewed-merge.yml— verbatim copy of the canonical template fromComfy-Org/unreviewed-merges/detector/, renamed because the canonical filename is occupied here by the reusable itself. Operator step remaining: provisionsecrets.UNREVIEWED_MERGES_TOKEN— until then the job fails loudly on pushes to main (deliberate: enrollment should never be silently inert).Housekeeping already done outside this PR:
CURSOR_API_KEYrepo secret provisioned; repo added toCURSOR_REVIEW_CALLERS(13 entries).🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.