Skip to content

feat: Add Actions cache limits for repositories and enterprises - #4646

Open
bhuvaneshkumar-cyber wants to merge 1 commit into
google:masterfrom
bhuvaneshkumar-cyber:actions-cache-limits-repo-enterprise
Open

bhuvaneshkumar-cyber wants to merge 1 commit into
google:masterfrom
bhuvaneshkumar-cyber:actions-cache-limits-repo-enterprise

Conversation

@bhuvaneshkumar-cyber

Copy link
Copy Markdown

Fixes #4645.

Adds the repository- and enterprise-level variants of the Actions cache retention/storage limit endpoints added for organizations in #4597, reusing the existing ActionsCacheRetentionLimit and ActionsCacheStorageLimit types.

AI disclosure: AI wrote the initial implementation and tests, following the existing org-level functions; I reviewed them and ran script/test.sh and script/lint.sh locally.

@google-cla

google-cla Bot commented Oct 18, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@codecov

codecov Bot commented Oct 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.62%. Comparing base (fef0352) to head (95adeab).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4646   +/-   ##
=======================================
  Coverage   98.61%   98.62%           
=======================================
  Files         199      199           
  Lines       18694    18750   +56     
=======================================
+ Hits        18436    18492   +56     
  Misses        258      258           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gmlewis gmlewis left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @bhuvaneshkumar-cyber!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

@gmlewis gmlewis added the NeedsReview PR is awaiting a review before merging. label Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NeedsReview PR is awaiting a review before merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Actions cache retention and storage limits for repositories and enterprises

2 participants