Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Metadata question

オープン
#4,334 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
go, openapi

調査の方向性

まず OpenAPI メタデータと issue に記載されている ActionsService の 5 つのメソッドを確認し、次に GHES v3.7 のドキュメントおよび #4335 で提案されている修正と比較します。エンドポイントの削除と非推奨化に関する質問に回答し、影響を受ける関数を更新するための明確なプロセスを文書化できれば完了です。

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

説明

I happened to be re-implementing some acceptance tests the other day and while doing so I noticed that the signatures for the actions secret functions didn't look right. Tracking this back into the OpenAPI doc shows that the 5 functions below are tracking APIs from GHES v3.7 that are no longer documented (see #4335 for my proposed fix for this specific case).

  • ActionsService.GetEnvPublicKey
  • ActionsService.ListEnvSecrets
  • ActionsService.GetEnvSecret
  • ActionsService.CreateOrUpdateEnvSecret
  • ActionsService.DeleteEnvSecret

Looking at the OpenAPI metadata I was expecting these endpoints to be marked as deprecated, but this doesn't appear to be the case. I can also see unused endpoints from old GHES versions still in the metadata.

My primary questions are as follows:

  • Should endpoints be removed once they're no longer supported by GitHub and are no longer in use (e.g. there are some projects v1 endpoints still in there)?
  • Should endpoints be marked as deprecated once they're no longer supported by GitHub (e.g. deprecated or not in supported GHES versions)?
  • If the endpoints were correctly marked as deprecated would this automatically mark the functions as deprecated?
    • If this is the case do we have a process for updating functions that just need to change endpoint and/or signature?
主要言語
Go
スター
11.3k
フォーク
2.5k
平均マージ
1日 16時間
マージ済み PR(30日)
51

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google/go-github のほかの issue

google/go-github の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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