Skip to content

Conversation

@TingluoHuang
Copy link
Member

We don't need these super old versions get cached any more.

Copilot AI review requested due to automatic review settings December 30, 2025 19:30
@TingluoHuang TingluoHuang requested a review from a team as a code owner December 30, 2025 19:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes old versions of GitHub Actions from the cache by updating version patterns to exclude legacy versions (v1, v2, and v3 for most actions). The changes aim to reduce cache size and maintenance burden by only keeping more recent action versions.

  • Updated regex patterns in JSON config files to only match newer major versions (v4+ for upload-artifact, v2+ for setup-python, v3+ for checkout and setup-node)
  • Removed legacy tag entries from configuration files
  • Updated the main branch commit hash for setup-python
  • Removed corresponding curl download commands from generated shell scripts

Reviewed changes

Copilot reviewed 4 out of 8 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
config/actions/actions_upload-artifact.json Updated pattern to match v4-v9 only, removed v1-v3 tags
config/actions/actions_setup-python.json Updated pattern to match v2-v9 only, simplified pattern logic, updated main branch commit
config/actions/actions_setup-node.json Updated pattern to match v3-v9 only, removed v1-v2 tags
config/actions/actions_checkout.json Updated pattern to match v3-v9 only, removed v1-v2 tags
script/generated/actions_upload-artifact.sh Removed curl commands for old version downloads
script/generated/actions_setup-python.sh Removed curl commands for old version and updated main branch version
script/generated/actions_setup-node.sh Removed curl commands for old version downloads
script/generated/actions_checkout.sh Removed curl commands for old version downloads

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TingluoHuang TingluoHuang merged commit ed20b49 into main Jan 2, 2026
10 checks passed
@TingluoHuang TingluoHuang deleted the users/tihuang/removeoldversion branch January 2, 2026 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants