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 9 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 23 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
-
[Docs] - Document minimum Terraform/OpenTofu version (>= 1.11) required by write-only argumentsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
MagaluCloud/terraform-provider-mgc#323 ·
Maintainers usually reply within 11 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rossoctl/context-guru#366 ·
Maintainers usually reply within 1 day
-
stage-fail
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
siyuan-note/bazaar#2293 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
piraeusdatastore/piraeus-operator#1070 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day