[PR #8] [MERGED] feat(cursor-review): auto-label on PR open/ready, not just assignment #17

Closed
opened 2026-10-26 22:35:26 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/github-workflows/pull/8
Author: @mattmillerai
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @mattmillerai

Base: main ← Head: matt/auto-label-open-ready


📝 Commits (1)

  • 49468f2 feat(cursor-review): auto-label on PR open/ready, not just assignment

📊 Changes

1 file changed (+47 additions, -17 deletions)

View changed files

📝 .github/workflows/cursor-review-auto-label.yml (+47 -17)

📄 Description

What

Extends the reusable `cursor-review-auto-label.yml` so it can apply the review label not only when an opted-in reviewer is assigned, but also when an opted-in person opens a non-draft PR or marks a draft ready for review — matching the PR author for the open/ready events. Draft PRs defer until `ready_for_review`.

Backward compatibility

A caller that lists only `on: pull_request: [assigned]` behaves exactly as before — the new `opened`/`ready_for_review` handling only runs if the caller opts into those triggers. So existing consumers are unaffected until they choose to add the triggers.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/github-workflows/pull/8 **Author:** [@mattmillerai](https://github.com/mattmillerai) **Created:** 6/4/2026 **Status:** ✅ Merged **Merged:** 6/4/2026 **Merged by:** [@mattmillerai](https://github.com/mattmillerai) **Base:** `main` ← **Head:** `matt/auto-label-open-ready` --- ### 📝 Commits (1) - [`49468f2`](https://github.com/Comfy-Org/github-workflows/commit/49468f2822b7480e759db64cf98b729bb6464e20) feat(cursor-review): auto-label on PR open/ready, not just assignment ### 📊 Changes **1 file changed** (+47 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/cursor-review-auto-label.yml` (+47 -17) </details> ### 📄 Description ## What Extends the reusable \`cursor-review-auto-label.yml\` so it can apply the review label not only when an **opted-in reviewer is assigned**, but also when an **opted-in person opens a non-draft PR** or **marks a draft ready for review** — matching the PR *author* for the open/ready events. Draft PRs defer until \`ready_for_review\`. ## Backward compatibility A caller that lists only \`on: pull_request: [assigned]\` behaves **exactly as before** — the new \`opened\`/\`ready_for_review\` handling only runs if the caller opts into those triggers. So existing consumers are unaffected until they choose to add the triggers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-26 22:35:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/github-workflows#17
No description provided.