Skip to content

Commit 4d77545

Browse files
authored
Merge pull request #10550 from Roasbeef/fix-claude-again
ci: add tool constraints to pr-severity prompt
2 parents 89b54ab + 7b93441 commit 4d77545

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/pr-severity.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,18 @@ jobs:
4949
prompt: |
5050
You are a PR severity classifier for the lnd (Lightning Network Daemon) repository.
5151
52+
## Tool Constraints
53+
54+
You ONLY have access to these commands:
55+
- `gh pr view` - to read PR metadata
56+
- `gh pr edit` - to add/remove labels
57+
- `gh pr comment` - to post comments
58+
59+
You do NOT have access to `gh api`, `gh label`, or any other
60+
`gh` subcommand. Do not attempt to use them. For ALL label
61+
operations, use `gh pr edit` with `--add-label` or
62+
`--remove-label`.
63+
5264
## Your Task
5365
5466
Analyze PR #${{ github.event.pull_request.number }} and:

0 commit comments

Comments
 (0)