Add support for Actions cache retention and storage limits for an organization
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 actions_cache.go 开始,阅读现有的缓存使用方法,并将其结构与所链接 GitHub 文档中的组织级 REST 端点进行比较。添加用于保留和存储限制的四个指定名称的 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-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.
- 主要语言
- Go
- 星标
- 11.3k
- 派生
- 2.5k
- 平均合并
- 1 天 2 小时
- 30 天内合并 PR
- 41
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/go-github 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
-
Add actions policies endpoints可能已有人在做 @jndz2 于 8 天前认领。 未关闭
google/go-github#4583 · 2 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add Copilot content exclusion set/get enterprise and org set endpoints可能已有人在做 @Tens1des 于 21 天前认领。 未关闭
google/go-github#4526 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 86/100
DataDog/dd-trace-go#5469 ·
维护者通常 1 天内回复
-
bug tests
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
l3montree-dev/devguard#3101 ·
维护者通常 1 天内回复
-
area:*of bug
难度 2/5 1-3 小时 新手友好度 78/100
oapi-codegen/oapi-codegen#2593 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 85/100
DaoCloud/DaoCloud-docs#7432 ·
维护者通常 1 天内回复