Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

[Schema Inaccuracy] Invalid Authorization method specified for Updating a check-run

未關閉
#4,290 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 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 內容生成。

描述

documentation inaccuracy

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

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/rest-api-description 的其他 Issue

查看 github/rest-api-description 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。