Add support for Actions cache retention and storage limits for an organization
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
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-limitGET/PUT /organizations/{org}/actions/cache/storage-limit
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/go-github
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Add actions policies endpointsPossibly taken @jndz2 claimed this 7 days ago. Open
google/go-github#4583 · 2 comments · 1 reaction · 1 assignee ·
Maintainers usually reply within 1 day
-
Add Copilot content exclusion set/get enterprise and org set endpointsPossibly taken @Tens1des claimed this 21 days ago. Open
google/go-github#4526 · 1 comment · 1 reaction · 1 assignee ·
Maintainers usually reply within 1 day
All issues in google/go-github
Similar issues
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
priority/4/normal status/needs-triage type/bug/unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
authelia/authelia#13292 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
blinklabs-io/actions#138 ·
Maintainers usually reply within 1 day
-
[UI] AlbumDetails collapses multi-genre list to single primary genre on viewports < lg breakpointOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day