mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #5] [MERGED] feat(cursor-review): add reusable auto-label workflow #13
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#13
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/5
Author: @mattmillerai
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @mattmillerai
Base:
main← Head:feat/cursor-review-auto-label-reusable📝 Commits (1)
c84f75dfeat(cursor-review): add reusable auto-label workflow📊 Changes
2 files changed (+123 additions, -0 deletions)
View changed files
➕
.github/workflows/cursor-review-auto-label.yml(+122 -0)📝
README.md(+1 -0)📄 Description
What
Adds
cursor-review-auto-label.yml, a reusable (workflow_call) companion tocursor-review.yml. On PR assignment of an opted-in reviewer, it applies the review label — which is whatcursor-review.ymlactually triggers on — so people can opt into review-on-assignment without manually clicking the label.Why
Today each consumer repo carries its own copy of the auto-label workflow with the opt-in login list hardcoded in the YAML (e.g.
OPTED_IN_LOGINS: 'mattmillerai'). That means:This centralizes the logic and moves the roster into the caller's
vars.CURSOR_REVIEW_OPTED_IN_LOGINS(whitespace-separated logins) — exactly the patterncursor-review.ymlalready uses forvars.CURSOR_REVIEW_DM_EMAIL_MAP. Opt-in becomes "edit the variable," not "edit each repo's workflow."Notes
vars.APP_ID, passessecrets.CLOUD_CODE_BOT_PRIVATE_KEY). A GITHUB_TOKEN-applied label does not create a new workflow run, so the review would never fire — same constraint the existing local workflow documents.workflows_refinput (unlikecursor-review.yml).review_label/skip_labelare inputs (defaultscursor-review/skip-cursor-review) so the trigger label stays in lock-step with the review workflow's ownreview_label.Follow-up (separate PRs)
comfy-cloud-mcp-server: swap its localcursor-review-auto-label.ymlto a thin caller pinned to this PR's merge SHA + setvars.CURSOR_REVIEW_OPTED_IN_LOGINS(already seeded tomattmillerai).cloud(#4038 consumer): same swap.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.