github / github/accessibility-scanner
Only select repositories not Public repositories
- Dominant language
- TypeScript
- Stars
- 369
- Forks
- 40
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 10
Description
When defining the Repository access, I think you can't pick "Public repositories".
Trying to debug this, AI gave me:
> The likely root cause: your fine-grained PAT is read-only for public repos when set to “All repositories”
>
> Look closely at your PAT screen:
>
> “All repositories … Also includes public repositories (read-only).”
>
> Your repo mgifford/whisper-slides is public. If GitHub is treating “All repositories” as “read/write for private you own, but public read-only”, then the token will fail exactly where you fail: POST /repos/{owner}/{repo}/issues returns “Resource not accessible by personal access token”.
>
> This matches your error.
ChatGPT recommended that I use Repository access: Only select repositories - and this worked.
Contributor guide
Research direction
Start by reproducing the Repository access behavior with a fine-grained personal access token and a public repository, then trace the GitHub issue-creation integration. Done means confirming whether public repositories can be selected and used successfully, or documenting the supported access configuration if this is a GitHub limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100