Merge pull request #10550 from Roasbeef/fix-claude-again

ci: add tool constraints to pr-severity prompt
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2026-02-03 21:45:46 -04:00
commit 4d775457c5
1 file changed
+12
+12
View File
@@ -49,6 +49,18 @@ jobs:
prompt: |
You are a PR severity classifier for the lnd (Lightning Network Daemon) repository.
## Tool Constraints
You ONLY have access to these commands:
- `gh pr view` - to read PR metadata
- `gh pr edit` - to add/remove labels
- `gh pr comment` - to post comments
You do NOT have access to `gh api`, `gh label`, or any other
`gh` subcommand. Do not attempt to use them. For ALL label
operations, use `gh pr edit` with `--add-label` or
`--remove-label`.
## Your Task
Analyze PR #${{ github.event.pull_request.number }} and: