Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open Beginner friendly
#4,596 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github, go
Domain
api

Research direction

Start in actions_cache.go by reading the existing cache usage methods and compare their structure with the organization-level REST endpoints in the linked GitHub documentation. Add the four named ActionsService methods for retention and storage limits, then verify that each uses the documented GET or PUT endpoint and passes the relevant package tests.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Go
Stars
11.3k
Forks
2.5k
Avg merge
1d 2h
Merged PRs (30d)
41

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/go-github

All issues in google/go-github

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.