Skip to content

Commit 811bd35

Browse files
bhodges-navapbcBrian Hodgesclaude
authored
docs(metricsai): note least-privilege fine-grained GitHub PAT in QUICKSTART (#30)
QUICKSTART only said "GitHub token" with no scoping guidance. Add a least-privilege note mirroring the AWS block: use a fine-grained PAT scoped to only the selected repos with three Read-only permissions (Metadata, Pull requests, Issues), linking to the full README setup. Co-authored-by: Brian Hodges <bhodges@navapbc.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 964c755 commit 811bd35

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

metricsai/QUICKSTART.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ uv run metricsai --set-webhook-key # webhook API key (to post)
1818

1919
Or via env: `METRICSAI_GITHUB_TOKEN`, `METRICSAI_WEBHOOK_KEY`.
2020

21+
**GitHub least privilege:** use a **fine-grained** PAT, not a classic token. Scope it to
22+
*Only select repositories* (just the repos you scan) with three *Read-only* permissions —
23+
**Metadata**, **Pull requests**, **Issues** — and nothing else. Full setup in the
24+
[README](./README.md#github-access-token).
25+
2126
## Run
2227

2328
```bash

0 commit comments

Comments
 (0)