lnd/.github
ziggie 77c566f2fa
ci: use GITHUB_TOKEN instead of PAT for PR severity workflow
The PR severity classifier only needs to run `gh pr view`, `gh pr edit`
(labels), and `gh pr comment`. All three operations are fully covered by
the built-in GITHUB_TOKEN given the existing permissions block:

  permissions:
    contents: read
    pull-requests: write
    issues: write

The workflow uses `pull_request_target`, which runs in the base repo
context, so GITHUB_TOKEN has write access even for fork PRs.

Inspection of the claude-code-action@v1 source confirmed that the only
internal call that would require `contents: write` is branch deletion,
which is never exercised here because Claude's tools are locked down to
`gh pr view/edit/comment` via --allowedTools.

This removes the dependency on the PR_SEVERITY_BOT_TOKEN PAT secret.
2026-04-08 14:49:16 +02:00
..
actions build: update CI+release version to Go 1.25.5 2026-01-13 16:07:38 +01:00
ISSUE_TEMPLATE github: change to form-based issue template 2025-09-19 11:40:49 +02:00
workflows ci: use GITHUB_TOKEN instead of PAT for PR severity workflow 2026-04-08 14:49:16 +02:00
CODEOWNERS-HINT github/CODEOWNERS: rename code owners file to soft deactivate 2024-03-07 17:15:22 -08:00
pull_request_template.md docs: add development_guidelines.md 2025-04-14 17:08:56 +08:00