mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #13] [MERGED] feat(cursor-review): optional dedicated bot identity for review posting (BE-1812) #22
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#22
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/13
Author: @mattmillerai
Created: 6/25/2026
Status: ✅ Merged
Merged: 6/26/2026
Merged by: @mattmillerai
Base:
main← Head:matt/be-1812-story-11-cursor-review-reusable-workflow-optional-dedicated📝 Commits (3)
0486dfffeat(cursor-review): optional dedicated bot identity for review posting (BE-1812)e600ea3refactor(cursor-review): App ID as input (reuse cloud-code-bot), drop secrets-if workaroundf4427a4docs(cursor-review): genericize bot-identity example comments for OSS📊 Changes
1 file changed (+30 additions, -1 deletions)
View changed files
📝
.github/workflows/cursor-review.yml(+30 -1)📄 Description
Implements BE-1812 (hunks 1+2 of the BE-1800 approach): the cursor-review reusable workflow can post under an optional dedicated bot identity instead of the shared
github-actions[bot], so its review threads become distinct and queryable.Change — one file,
.github/workflows/cursor-review.ymlworkflow_callsecrets:BOT_APP_ID,BOT_APP_PRIVATE_KEY(bothrequired: false).Detect bot identitystep + a conditionalactions/create-github-app-token@v2mint step before Post review.${{ steps.bot_token.outputs.token || secrets.GITHUB_TOKEN }}.post-review.pyis untouched — the comment author follows whatever token it gets.Safe to merge now (red-safe / no-op until configured)
With no creds supplied, the mint step is skipped and posting stays
github-actions[bot]— zero behavior change for every consumer, including OSS callers. It posts under the new identity only once the App + org secrets exist (BE-1813) and callers pass them through (BE-1814).Two usual footguns were already handled here, so no companion edits:
Pin style matches the file (bare tags). Caller passthrough is the separate BE-1814.
Refs BE-1812 · parent BE-1800.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.