mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 10:53:23 +00:00
fix: restrict Claude workflows to only bvdaakster user
- Change issue implementation workflow to only allow bvdaakster - Update code review workflow to only trigger for bvdaakster's PRs - Update configuration to reflect single-user access - Remove other privileged users from the list Only bvdaakster can now: - Trigger Claude issue implementations with @claude comments - Have PRs automatically reviewed by Claude 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
7
.github/workflows/claude-code-review.yml
vendored
7
.github/workflows/claude-code-review.yml
vendored
@@ -12,11 +12,8 @@ on:
|
||||
|
||||
jobs:
|
||||
claude-review:
|
||||
# Permission filter: Only allow specific users or admins to trigger reviews
|
||||
if: |
|
||||
contains(fromJSON('["bastiaan", "xtr-dev-team"]'), github.event.pull_request.user.login) ||
|
||||
github.event.pull_request.author_association == 'OWNER' ||
|
||||
github.event.pull_request.author_association == 'MEMBER'
|
||||
# Permission filter: Only allow bvdaakster to trigger reviews
|
||||
if: github.event.pull_request.user.login == 'bvdaakster'
|
||||
|
||||
# Alternative filters (comment out the above and use one of these):
|
||||
# Only for external contributors:
|
||||
|
||||
Reference in New Issue
Block a user