github / github/accessibility-scanner

Only select repositories not Public repositories

Đang mở
#121 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
369
Fork
40
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
10

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github, typescript
Lĩnh vực
api, authentication
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.