mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 02:43:24 +00:00
fix: simplify Claude workflows with clean username checks
- Simplify all permission checks to single username validation - Remove complex permission logic for cleaner workflows - Streamline issue implementation workflow - Streamline PR assistant workflow - Keep only essential functionality - Fix YAML syntax issues - Validate all workflows successfully Changes: - Single username check: context.actor !== 'bvdaakster' - Simplified error messages - Clean YAML structure - Reduced complexity while maintaining functionality All workflows now use simple, reliable permission checks. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
14
.github/workflows/claude-code-review.yml
vendored
14
.github/workflows/claude-code-review.yml
vendored
@@ -12,20 +12,8 @@ on:
|
||||
|
||||
jobs:
|
||||
claude-review:
|
||||
# Permission filter: Only allow bvdaakster to trigger reviews
|
||||
# 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:
|
||||
# if: github.event.pull_request.author_association == 'FIRST_TIME_CONTRIBUTOR'
|
||||
|
||||
# Only for specific users:
|
||||
# if: contains(fromJSON('["username1", "username2"]'), github.event.pull_request.user.login)
|
||||
|
||||
# Only for non-admins (let admins skip review):
|
||||
# if: |
|
||||
# github.event.pull_request.author_association != 'OWNER' &&
|
||||
# github.event.pull_request.author_association != 'MEMBER'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user