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

Add support for Actions cache retention and storage limits for an organization

オープン 初心者向け
#4,596 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, go
領域
api

調査の方向性

actions_cache.go で既存のキャッシュ使用メソッドを読み、その構造をリンク先の GitHub ドキュメントにある組織レベルの REST エンドポイントと比較することから始めます。保持およびストレージの制限に対応する、名前が指定された4つの ActionsService メソッドを追加し、その後、それぞれがドキュメントに記載された GET または PUT エンドポイントを使用し、関連するパッケージテストに合格することを確認します。

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

説明

GitHub added endpoints for the Actions cache retention limit and storage limit at the organization level, but go-github doesn't cover them yet:

  • GET/PUT /organizations/{org}/actions/cache/retention-limit
  • GET/PUT /organizations/{org}/actions/cache/storage-limit

Docs: https://docs.github.com/rest/actions/cache#get-github-actions-cache-retention-limit-for-an-organization

I'd like to add ActionsService.GetCacheRetentionLimitForOrg / SetCacheRetentionLimitForOrg and GetCacheStorageLimitForOrg / SetCacheStorageLimitForOrg alongside the existing cache usage methods in actions_cache.go. I'm happy to send a PR.

主要言語
Go
スター
11.3k
フォーク
2.5k
平均マージ
1日 2時間
マージ済み PR(30日)
41

環境構築

はじめの一歩

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

google/go-github のほかの issue

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

似ている issue

Go の issue をもっと見る

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

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