lnd/.github/workflows
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
..
backport.yml ci: fix some minor issues in the backport ci job 2025-12-14 09:00:02 +01:00
claude-dedupe-issues.yml ci: use haiku model for issue dedupe workflow 2026-02-13 10:52:46 +02:00
claude.yml workflows/claude: fix PR checkout for fork PRs 2026-01-29 13:30:41 -04:00
docker.yml github actions: move pgp key to daily builds 2025-08-19 08:35:42 +02:00
main.yml multi: Run itests with bitcoind miner in CI 2026-03-23 15:46:37 +01:00
pr-severity.yml ci: use GITHUB_TOKEN instead of PAT for PR severity workflow 2026-04-08 14:49:16 +02:00
release.yaml build: update CI+release version to Go 1.25.5 2026-01-13 16:07:38 +01:00
stats.yml .github: run PR review stats only for side branches 2025-07-17 20:42:24 +08:00
verify-release.yaml ci: add verify-release workflow 2026-02-13 10:35:11 +01:00