-
Notifications
You must be signed in to change notification settings - Fork 7
Classic permissions #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
3ec9d11
68fbfbf
e827564
a159924
5384763
fd99a4f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -38,12 +38,25 @@ npm run build | |||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| ### 1. Create a GitHub Personal Access Token | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| 1. Go to [GitHub Settings > Developer settings > Personal access tokens](https://github.com/settings/tokens) | ||||||||||||||||||||||||||||||||||||||
| 2. Click "Generate new token (classic)" | ||||||||||||||||||||||||||||||||||||||
| 3. Select these scopes: | ||||||||||||||||||||||||||||||||||||||
| - `repo` (Full control of private repositories) | ||||||||||||||||||||||||||||||||||||||
| - `read:user` (Read access to user profile data) | ||||||||||||||||||||||||||||||||||||||
| - `actions:read` (Read access to actions and workflows) | ||||||||||||||||||||||||||||||||||||||
| 1. Classic Personal Access Token (legacy) | ||||||||||||||||||||||||||||||||||||||
| 1. Go to `GitHub Settings > Developer settings > Personal access tokens` | ||||||||||||||||||||||||||||||||||||||
| 2. Click `Generate new token (classic)` | ||||||||||||||||||||||||||||||||||||||
| 3. Select these scopes: | ||||||||||||||||||||||||||||||||||||||
| - `repo` (Full control of private repositories) | ||||||||||||||||||||||||||||||||||||||
| - `read:user` (Read access to user profile data) | ||||||||||||||||||||||||||||||||||||||
| - `actions:read` (Read access to actions and workflows) | ||||||||||||||||||||||||||||||||||||||
| 4. Notes: Classic tokens are broad — choose a short expiration and store the token securely. | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
| 2. Recommended: Fine‑Grained Personal Access Token (FGA) | ||||||||||||||||||||||||||||||||||||||
| 1. Go to `GitHub Settings > Developer settings > Personal access tokens > Fine‑grained tokens` | ||||||||||||||||||||||||||||||||||||||
| 2. Click `Generate new token` | ||||||||||||||||||||||||||||||||||||||
| 3. Under **Repository access** choose `Selected repositories` (preferred) or `All repositories` only if necessary | ||||||||||||||||||||||||||||||||||||||
| 4. Under **Repository permissions** set: | ||||||||||||||||||||||||||||||||||||||
| - `Actions` = `Read` (analysis only). If you plan to run `--cleanup` to delete artifacts, set `Actions` = `Read & write` for the repositories you will modify | ||||||||||||||||||||||||||||||||||||||
| - `Contents` = `Read` | ||||||||||||||||||||||||||||||||||||||
| - `Profile` = `Read` (account‑level permission — set under Fine‑Grained token **Profile** permissions; only needed if the tool queries the authenticated user's profile) | ||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+50
to
+57
|
||||||||||||||||||||||||||||||||||||||
| 2. Recommended: Fine‑Grained Personal Access Token (FGA) | |
| 1. Go to `GitHub Settings > Developer settings > Personal access tokens > Fine‑grained tokens` | |
| 2. Click `Generate new token` | |
| 3. Under **Repository access** choose `Selected repositories` (preferred) or `All repositories` only if necessary | |
| 4. Under **Repository permissions** set: | |
| - `Actions` = `Read` (analysis only). If you plan to run `--cleanup` to delete artifacts, set `Actions` = `Read & write` for the repositories you will modify | |
| - `Contents` = `Read` | |
| - `Profile` = `Read` (account‑level permission — set under Fine‑Grained token **Profile** permissions; only needed if the tool queries the authenticated user's profile) | |
| 2. Recommended: Fine-Grained Personal Access Token (FGA) | |
| 1. Go to `GitHub Settings > Developer settings > Personal access tokens > Fine-grained tokens` | |
| 2. Click `Generate new token` | |
| 3. Under **Repository access** choose `Selected repositories` (preferred) or `All repositories` only if necessary | |
| 4. Under **Repository permissions** set: | |
| - `Actions` = `Read` (analysis only). If you plan to run `--cleanup` to delete artifacts, set `Actions` = `Read & write` for the repositories you will modify | |
| - `Contents` = `Read` | |
| - `Profile` = `Read` (account-level permission — set under Fine-Grained token **Profile** permissions; only needed if the tool queries the authenticated user's profile) |
Copilot
AI
Oct 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple hyphen characters should be standard hyphens instead of en dashes for consistency.
| - `Profile` = `Read` (account‑level permission — set under Fine‑Grained token **Profile** permissions; only needed if the tool queries the authenticated user's profile) | |
| - `Profile` = `Read` (account-level permission - set under Fine-Grained token **Profile** permissions; only needed if the tool queries the authenticated user's profile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hyphen character should be a standard hyphen instead of an en dash for consistency with the rest of the documentation.