[Schema Inaccuracy] Invalid Authorization method specified for Updating a check-run
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- openapi
- 領域
- api, documentation
研究方向
先從 Update a check run 端點文件開始,檢查其授權區段,然後找出其他使用相同不準確 fine-grained token 措辭的端點。完成的標準是移除不受支援的 fine-grained token 提及,並在資訊重複出現的所有位置清楚說明 GitHub App 限制。
由索引模型根據 Issue 內容生成。
描述
Schema Inaccuracy
The GitHub REST API documentation for updating a check-run indicates that Fine-grained personal access tokens are a valid token type for this endpoint. However, using a fine-grained token as specified results in an HTTP 403 response with the message: "Resource not accessible by personal access token"
The documentation also mentions that it's necessary to give the "Checks" repository permissions (read) for the fine-grained token, but "Checks" is not one of the permission options available when creating this type of token.
Expected
Since at the beginning of the documentation it's stated that "Write permission for the REST API to interact with checks is only available to GitHub Apps", the behavior is working as expected, therefore the documentation only needs to be updated to remove the fine grained mentions on endpoints that require write permissions, the information is replicated for several endpoints.
Furthermore, it could also be made more evident that a check run can only be modified by the GitHub App that created it.
Reproduction Steps
N/A
- 主要語言
- 沒有語言資料
- 星號
- 1.6k
- 分支
- 347
- 平均合併
- 1 小時 54 分鐘
- 30 天內合併 PR
- 86
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/rest-api-description 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
github/rest-api-description#7364 ·
維護者通常 1 天內回覆
-
feature
難度 2/5 1-3 小時 新手友好度 62/100
github/rest-api-description#7286 ·
維護者通常 1 天內回覆
-
feature
難度 1/5 1 小時以內 新手友好度 88/100
github/rest-api-description#7266 · 1 則留言 ·
維護者通常 1 天內回覆
-
feature
難度 2/5 1-3 小時 新手友好度 82/100
github/rest-api-description#7246 ·
維護者通常 1 天內回覆
-
feature
難度 2/5 1-3 小時 新手友好度 85/100
github/rest-api-description#7220 ·
維護者通常 1 天內回覆
查看 github/rest-api-description 的全部 Issue
相似的 Issue
-
comp/cli comp/plugins P2 type/bug
難度 2/5 1-3 小時 新手友好度 75/100
NousResearch/hermes-agent#141917 · 1 則留言 ·
維護者通常 1 天內回覆
-
sync-en
難度 1/5 1 小時以內 新手友好度 77/100
維護者通常 3 天內回覆
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()可能已有人在做 @apoorvdarshan 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
BasedHardware/omi#22770 ·
維護者通常 1 天內回覆
-
Bug v3
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
needs-format
難度 2/5 1-3 小時 新手友好度 69/100
Niko1221/Strata#3368 · 1 則留言 ·
維護者通常 3 天內回覆