Skip to content

Commit cd5fef9

Browse files
authored
docs: Restore fine-grained PAT instructions, now that fine-grained PATs are supported again (#935)
Reverts github-community-projects/continuous-ai-for-accessibility-scanner#831 Fixes github/continuous-ai-for-accessibility#51 (Hubber access only)
2 parents bd3f80e + e78bbeb commit cd5fef9

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,18 @@ 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+
- `actions: write`
72+
- `contents: write`
73+
- `issues: write`
74+
- `pull-requests: write`
75+
- `metadata: read`
76+
- Scope: Your target repository (where issues and PRs will be created)
7277

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

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)
80+
📚 [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)
7681

7782
---
7883

@@ -113,4 +118,4 @@ Beta participants have direct contact for questions and suggestions. A public fe
113118

114119
---
115120

116-
*Last updated: 2025-09-23*
121+
*Last updated: 2025-09-25*

0 commit comments

Comments
 (0)