github-community-projects / github-community-projects/safe-settings

Support App ID for status source

オープン
#246 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
921
フォーク
226
平均マージ
18時間 3分
マージ済み PR(30日)
14

説明

## Prerequisites:

* Is the functionality available in the GitHub UI? If so, please provide a link to information about the feature.
Yes
not super clear in the docs, but available in UI
![image](https://user-images.githubusercontent.com/16494982/179844089-5bfd23d3-f180-4287-8802-35fcc9d37893.png)

* Is the functionality available through the GitHub API? If the functionality is available, please provide links to the
API documentation (https://developer.github.com/v3/) as well as the Octokit documentation (https://octokit.github.io/).
Yes, search `required_status_checks.checks[].app_id` in https://octokit.github.io/rest.js/v18

## New Feature

Please describe the desired new functionality:
In UI/API, we are able to choose which app is allowed to post certain statuses (or at least, which we accept for required status completion). Can we add this to safe-settings to ensure statuses come from gh actions

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

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

調査の方向性

まず、safe-settings が必須ステータスチェックをどのように表現して適用しているかを確認し、そのフローを GitHub API のフィールド required_status_checks.checks[].app_id と比較します。設定で受け入れるステータスを指定した App ID に制限でき、その動作がテストでカバーされていれば完了です。

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

評価

技術スタック
github, github-actions, javascript
領域
api, ci-cd
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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