Skip to content

Restrict @claude mention trigger to a trusted account - #12

Merged
jnasbyupgrade merged 2 commits into
masterfrom
remove-claude-workflows
Jul 31, 2026
Merged

Restrict @claude mention trigger to a trusted account#12
jnasbyupgrade merged 2 commits into
masterfrom
remove-claude-workflows

Conversation

@jnasbyupgrade

@jnasbyupgrade jnasbyupgrade commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add an actor check to claude.yml so @claude mentions only run for a single trusted account.
  • claude-code-review.yml is unchanged.

Test plan

  • Confirm @claude mentions from the trusted account still trigger the workflow
  • Confirm mentions from any other account are skipped

@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: d81d5382-9033-416a-8582-e8b95881216c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

claude.yml (the @claude mention responder) had no actor check at all —
any GitHub user or bot could comment/open an issue containing "@claude"
and it would actually execute using the org's Claude Code OAuth token
and a repo-scoped GITHUB_TOKEN. claude-code-review.yml already gated on
the PR head owner; this brings the mention-trigger workflow in line by
requiring github.actor == 'jnasbyupgrade'.
@jnasbyupgrade
jnasbyupgrade force-pushed the remove-claude-workflows branch from 5f6376a to bdbcf1e Compare July 30, 2026 23:32
@jnasbyupgrade jnasbyupgrade changed the title Remove Claude Code GitHub workflows Restrict @claude mention trigger to jnasbyupgrade Jul 30, 2026
Condense to what's needed: this gates @claude to a single trusted
account rather than just matching comment text.
@jnasbyupgrade jnasbyupgrade changed the title Restrict @claude mention trigger to jnasbyupgrade Restrict @claude mention trigger to a trusted account Jul 31, 2026
@jnasbyupgrade
jnasbyupgrade merged commit 644d6df into master Jul 31, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant