Skip to content

Correct cache eviction policy #38744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 11, 2025
Merged

Correct cache eviction policy #38744

merged 3 commits into from
Jun 11, 2025

Conversation

me-and
Copy link
Contributor

@me-and me-and commented Jun 4, 2025

Caches are evicted based on access time, not creation time.

Why:

Closes: #38743

What's being changed (if available, include any code snippets, screenshots, or gifs):

I noted an inconsistency with GitHub Actions Cache messaging with GitHub Support in ticket 3452653, where Arthur confirmed that this documentation is wrong.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Caches are evicted based on access time, not creation time.
Copy link

welcome bot commented Jun 4, 2025

Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines.

Copy link
Contributor

github-actions bot commented Jun 4, 2025

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows.md fpt
ghec
ghes@ 3.17 3.16 3.15 3.14 3.13
fpt
ghec
ghes@ 3.17 3.16 3.15 3.14 3.13
from reusable

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Jun 4, 2025
@Sharra-writes
Copy link
Contributor

Thanks for opening a PR! I'm going to double check with Support that this is accurate, and then hopefully we'll be able to get it rolling.

@Sharra-writes Sharra-writes added content This issue or pull request belongs to the Docs Content team github_actions Pull requests that update GitHub Actions code and removed triage Do not begin working on this issue until triaged by the team labels Jun 4, 2025
@Sharra-writes
Copy link
Contributor

@me-and Thanks for being patient! It took longer than I thought it would to get an answer on this, but I'll get it added to the merge queue once checks are passing.

@Sharra-writes Sharra-writes added this pull request to the merge queue Jun 11, 2025
Merged via the queue into github:main with commit 510510d Jun 11, 2025
39 checks passed
Copy link
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect information about GitHub Actions Cache eviction policies
2 participants