Skip to content

Comments

Restrict @claude to repo owner only#436

Merged
vitkl merged 1 commit intomasterfrom
restrict-claude-to-owner
Feb 22, 2026
Merged

Restrict @claude to repo owner only#436
vitkl merged 1 commit intomasterfrom
restrict-claude-to-owner

Conversation

@vitkl
Copy link
Contributor

@vitkl vitkl commented Feb 22, 2026

Summary

  • Restrict the Claude Code GitHub Action to only trigger when vitkl uses @claude
  • Prevents other users from accidentally (or intentionally) spending API credits
  • To add more users later, add || github.event.comment.user.login == 'username' conditions

🤖 Generated with Claude Code

Only the repo owner (vitkl) can trigger the Claude Code action.
Other users' @claude mentions will be ignored.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vitkl vitkl force-pushed the restrict-claude-to-owner branch from 6300db7 to bf38bc6 Compare February 22, 2026 18:36
@vitkl vitkl merged commit afb07fd into master Feb 22, 2026
3 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