github / github/accessibility-scanner

Only select repositories not Public repositories

オープン
#121 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
369
フォーク
40
平均マージ
1日 9時間
マージ済み PR(30日)
10

説明

When defining the Repository access, I think you can't pick "Public repositories".

Screen shot of Repo section

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, typescript
領域
api, authentication
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。