mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-15 12:55:52 +00:00
more rights for claude!
This commit is contained in:
parent
9da94d05c1
commit
b39f63ea73
2 changed files with 8 additions and 8 deletions
8
.github/workflows/claude-code-review.yml
vendored
8
.github/workflows/claude-code-review.yml
vendored
|
|
@ -20,9 +20,9 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
issues: read
|
||||
contents: write
|
||||
pull-requests: write
|
||||
issues: write
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
# 'Please provide a thorough code review focusing on our coding standards and best practices.' }}
|
||||
|
||||
# Optional: Add specific tools for running tests or linting
|
||||
# allowed_tools: "Bash(npm run test),Bash(npm run lint),Bash(npm run typecheck)"
|
||||
allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test),Bash(npm run test:*),Bash(npm run lint),Bash(npm run lint:*),Bash(npm run typecheck),Bash(npm run format)"
|
||||
|
||||
# Optional: Skip review for certain conditions
|
||||
# if: |
|
||||
|
|
|
|||
8
.github/workflows/claude.yml
vendored
8
.github/workflows/claude.yml
vendored
|
|
@ -19,9 +19,9 @@ jobs:
|
|||
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
issues: read
|
||||
contents: write
|
||||
pull-requests: write
|
||||
issues: write
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
# assignee_trigger: "claude-bot"
|
||||
|
||||
# Optional: Allow Claude to run specific commands
|
||||
# allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test:*),Bash(npm run lint:*)"
|
||||
allowed_tools: "Bash(npm install),Bash(npm run build),Bash(npm run test),Bash(npm run test:*),Bash(npm run lint),Bash(npm run lint:*),Bash(npm run typecheck),Bash(npm run format)"
|
||||
|
||||
# Optional: Add custom instructions for Claude to customize its behavior for your project
|
||||
# custom_instructions: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue