github / github/accessibility-scanner
Only select repositories not Public repositories
- 主要语言
- TypeScript
- 星标
- 369
- 派生
- 40
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 10
描述
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.
贡献指南
调研方向
首先,使用 fine-grained personal access token 和公开 repository 重现 Repository access 的行为,然后跟踪 GitHub 的 issue 创建集成。完成的标准是确认公开 repository 是否可以被选择并成功使用,或者在这是 GitHub 限制的情况下,记录受支持的访问配置。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, typescript
- 领域
- api, authentication
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100