Skip to content

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

Description

@NitinKumar004

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions