mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #3] [MERGED] chore(cursor-review): move DM email-map roster out of the public repo #11
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#11
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/3
Author: @mattmillerai
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @mattmillerai
Base:
main← Head:chore/cursor-review-deroster📝 Commits (1)
776df0cchore(cursor-review): move DM email-map roster out of the public repo📊 Changes
4 files changed (+24 additions, -20 deletions)
View changed files
📝
.github/cursor-review/prompt-adversarial.md(+2 -2)📝
.github/cursor-review/prompt-edge-case.md(+2 -2)📝
.github/cursor-review/slack-notify.sh(+13 -16)📝
.github/workflows/cursor-review.yml(+7 -0)📄 Description
What
This is a public repo. The Cursor Review tooling carried two bits of internal info that didn't need to be here. No credentials were exposed — all secrets are already referenced via `secrets.*`/env. These are "internal info, now public" cleanups.
1. Team roster + email convention (
slack-notify.sh)The DM helper hardcoded a GitHub-handle →
@comfy.orgemail-prefix map for ~10 teammates, which enumerated the roster and confirmed the email scheme in a public repo.$DM_EMAIL_MAPenv var, sourced from an org/repo Actions variablevars.CURSOR_REVIEW_DM_EMAIL_MAP.2. Internal service paths in prompt examples (
prompt-adversarial.md,prompt-edge-case.md)The few-shot examples cited real private-repo paths (
services/ingest|inference|dispatcher/...,common/retrier.go), disclosing the service topology. Swapped for neutral generic paths (internal/api/handler.go, etc.). The example shape the models key off of is unchanged.Required follow-up before this fully takes effect
Set the org (or repo) Actions variable so DMs keep routing correctly for handles that differ from their email prefix. JSON object, lowercase keys:
(Use the values previously hardcoded in
slack-notify.sh— pull them from this PR's diff or the prior commit.) Until it's set, those specific users fall back tohandle@comfy.org, which won't resolve for the handful whose handle ≠ prefix.Test
bash -n slack-notify.shpasses.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.