Skip to content

Commit 101b579

Browse files
authored
Revert "docs: Update docs; GH_TOKEN must be a classic PAT"
1 parent 60ad8c7 commit 101b579

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,17 @@ The a11y scanner requires two Personal Access Tokens (PATs) as repository secret
6666
- `metadata: read`
6767
- Scope: [`github-community-projects/continuous-ai-for-accessibility-scanner`](https://github.com/github-community-projects/continuous-ai-for-accessibility-scanner)
6868

69-
#### The `GH_TOKEN` is a classic PAT with
69+
#### The `GH_TOKEN` is a fine-grained PAT with
7070

71-
- `repo` scope
71+
- `contents: write`
72+
- `issues: write`
73+
- `pull-requests: write`
74+
- `metadata: read`
75+
- Scope: Your target repository (where issues and PRs will be created)
7276

73-
> 👉 Neither GitHub Actions' default `GITHUB_TOKEN` nor a fine-grained PAT can be used here.
77+
> 👉 GitHub Actions' default `GITHUB_TOKEN` cannot be used here.
7478

75-
📚 [Creating a fine-grained PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) | [Creating a classic PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) | [Creating repository secrets](https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets#creating-secrets-for-a-repository)
79+
📚 [Creating a fine-grained PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-fine-grained-personal-access-token) | [Creating repository secrets](https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets#creating-secrets-for-a-repository)
7680

7781
---
7882

0 commit comments

Comments
 (0)