-
Notifications
You must be signed in to change notification settings - Fork 46.2k
chore(deps): bump actions/cache from 4 to 5 #11665
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
base: dev
Are you sure you want to change the base?
Conversation
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Comment |
Changes SummaryDependabot-generated PR bumping actions/cache GitHub Action from v4 to v5 across all CI/CD workflows. This is a major version upgrade to leverage Node.js 24 runtime and newer caching infrastructure, requiring GitHub Actions Runner 2.327.1 or higher. Type: config Components Affected: CI/CD Infrastructure, GitHub Actions Workflows, Python build caches (poetry), Node.js package caches (pnpm), Docker layer caches Files Changed
Architecture Impact
Risk Areas: Self-hosted runners must be verified to be at version 2.327.1 or higher before merge, otherwise all workflows will fail, Early adoption of Node.js 24 runtime; potential edge cases with newer runtime environment Suggestions
Full review in progress... | Powered by diffray |
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.pnpm-store | ||
| key: ${{ needs.setup.outputs.cache-key }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟠 HIGH - Third-party action using @latest version tag
Agent: security
Category: security
Description:
The chromaui/action is using @latest, which is unpinned and can pull malicious code if the action is compromised. Version tags are mutable and can be moved to point to different commits.
Suggestion:
Pin to a specific version tag (e.g., @v1.2.3) or better yet, pin to a full 40-character commit SHA (e.g., @a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0).
Confidence: 95%
Rule: gha_unpinned_action_version
Review ID: 3291cb5c-715f-4b33-acc2-77a0d8829dd9
Rate it 👍 or 👎 to improve future reviews | Powered by diffray
| cp ../.env.default ../.env | ||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 MEDIUM - Third-party action using version tag without SHA pinning
Agent: security
Category: security
Description:
The docker/setup-buildx-action uses @V3 (version tag) instead of a full commit SHA. While Docker is a reputable vendor, SHA pinning provides stronger guarantees.
Suggestion:
Pin to full commit SHA (e.g., @<40-char-sha>) for maximum security, especially in CI pipelines with elevated permissions.
Confidence: 70%
Rule: gha_unpinned_action_version
Review ID: 3291cb5c-715f-4b33-acc2-77a0d8829dd9
Rate it 👍 or 👎 to improve future reviews | Powered by diffray
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" # Use standard version matching CI |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 MEDIUM - Third-party action using version tag without SHA pinning
Agent: security
Category: security
Description:
The jlumbroso/free-disk-space action uses @v1.3.1 (version tag).
Suggestion:
Pin to full commit SHA for maximum security.
Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories.
Confidence: 70%
Rule: gha_unpinned_action_version
Review ID: 3291cb5c-715f-4b33-acc2-77a0d8829dd9
Rate it 👍 or 👎 to improve future reviews | Powered by diffray
| cp backend/.env.default backend/.env | ||
| cp frontend/.env.default frontend/.env | ||
| # Phase 1: Cache and load Docker images for faster setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 MEDIUM - Third-party action using version tag without SHA pinning
Agent: security
Category: security
Description:
The docker/setup-buildx-action uses @V3 (version tag).
Suggestion:
Pin to full commit SHA for maximum security.
Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories.
Confidence: 65%
Rule: gha_unpinned_action_version
Review ID: 3291cb5c-715f-4b33-acc2-77a0d8829dd9
Rate it 👍 or 👎 to improve future reviews | Powered by diffray
| cp backend/.env.default backend/.env | ||
| cp frontend/.env.default frontend/.env | ||
| # Phase 1: Cache and load Docker images for faster setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 MEDIUM - Third-party action using version tag without SHA pinning
Agent: security
Category: security
Description:
The docker/setup-buildx-action uses @V3 (version tag).
Suggestion:
Pin to full commit SHA for maximum security.
Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories.
Confidence: 65%
Rule: gha_unpinned_action_version
Review ID: 3291cb5c-715f-4b33-acc2-77a0d8829dd9
Rate it 👍 or 👎 to improve future reviews | Powered by diffray
|
|
||
| - id: get_date | ||
| name: Get date | ||
| run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 MEDIUM - Third-party action using version tag without SHA pinning
Agent: security
Category: security
Description:
The supabase/setup-cli uses @v1 (version tag).
Suggestion:
Pin to full commit SHA for maximum security.
Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories.
Confidence: 78%
Rule: gha_unpinned_action_version
Review ID: 3291cb5c-715f-4b33-acc2-77a0d8829dd9
Rate it 👍 or 👎 to improve future reviews | Powered by diffray
|
|
||
| - name: Set up Python dependency cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 MEDIUM - First-party GitHub action using version tag without SHA pinning
Agent: security
Category: security
Description:
The actions/cache action uses @v5 (version tag).
Suggestion:
Pin to full commit SHA or rely on Dependabot for auto-updates.
Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories.
Confidence: 65%
Rule: gha_unpinned_action_version
Review ID: 3291cb5c-715f-4b33-acc2-77a0d8829dd9
Rate it 👍 or 👎 to improve future reviews | Powered by diffray
Review Summary
Validated 77 issues: 16 kept, 61 filtered Issues Found: 16💬 See 7 individual line comment(s) for details. 📊 1 unique issue type(s) across 16 location(s) 📋 Full issue list (click to expand)🟠 HIGH - Third-party action using @latest version tag (16 occurrences)Agent: security Category: security 📍 View all locations
Rule: ℹ️ 9 issue(s) outside PR diff (click to expand)
🟠 HIGH - Third-party action with code execution using major version tag (9 occurrences)Agent: security Category: security 📍 View all locations
Rule: Review ID: |
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
8a51624 to
a6b3d83
Compare
Bumps actions/cache from 4 to 5.
Release notes
Sourced from actions/cache's releases.
... (truncated)
Changelog
Sourced from actions/cache's changelog.
... (truncated)
Commits
9255dc7Merge pull request #1686 from actions/cache-v5.0.1-release8ff5423chore: release v5.0.19233019Merge pull request #1685 from salmanmkc/node24-storage-blob-fixb975f2bfix: add peer property to package-lock.json for dependenciesd0a0e18fix: update license files for@actions/cache, fast-xml-parser, and strnum74de208fix: update@actions/cacheto ^5.0.1 for Node.js 24 punycode fixac7f115peerb0f846bfix: update@actions/cachewith storage-blob fix for Node.js 24 punycode depr...a783357Merge pull request #1684 from actions/prepare-cache-v5-release3bb0d78docs: highlight v5 runner requirement in releasesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)