-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,7 @@ jobs: | |
| python-version: "3.11" # Use standard version matching CI | ||
|
|
||
| - name: Set up Python dependency cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.cache/pypoetry | ||
| key: poetry-${{ runner.os }}-${{ hashFiles('autogpt_platform/backend/poetry.lock') }} | ||
|
|
@@ -107,7 +107,7 @@ jobs: | |
| echo "PNPM_HOME=$HOME/.pnpm-store" >> $GITHUB_ENV | ||
|
|
||
| - name: Cache frontend dependencies | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.pnpm-store | ||
| key: ${{ runner.os }}-pnpm-${{ hashFiles('autogpt_platform/frontend/pnpm-lock.yaml', 'autogpt_platform/frontend/package.json') }} | ||
|
|
@@ -140,7 +140,7 @@ jobs: | |
| # Phase 1: Cache and load Docker images for faster setup | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM - Third-party action using version tag without SHA pinning Category: security Description: Suggestion: Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories. Confidence: 65% |
||
| - name: Set up Docker image cache | ||
| id: docker-cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/docker-cache | ||
| # Use a versioned key for cache invalidation when image list changes | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,7 +39,7 @@ jobs: | |
| python-version: "3.11" # Use standard version matching CI | ||
|
|
||
| - name: Set up Python dependency cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.cache/pypoetry | ||
| key: poetry-${{ runner.os }}-${{ hashFiles('autogpt_platform/backend/poetry.lock') }} | ||
|
|
@@ -89,7 +89,7 @@ jobs: | |
| echo "PNPM_HOME=$HOME/.pnpm-store" >> $GITHUB_ENV | ||
|
|
||
| - name: Cache frontend dependencies | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.pnpm-store | ||
| key: ${{ runner.os }}-pnpm-${{ hashFiles('autogpt_platform/frontend/pnpm-lock.yaml', 'autogpt_platform/frontend/package.json') }} | ||
|
|
@@ -122,7 +122,7 @@ jobs: | |
| # Phase 1: Cache and load Docker images for faster setup | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM - Third-party action using version tag without SHA pinning Category: security Description: Suggestion: Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories. Confidence: 65% |
||
| - name: Set up Docker image cache | ||
| id: docker-cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/docker-cache | ||
| # Use a versioned key for cache invalidation when image list changes | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,7 +88,7 @@ jobs: | |
| run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM - Third-party action using version tag without SHA pinning Category: security Description: Suggestion: Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories. Confidence: 78% |
||
|
|
||
| - 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 commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM - First-party GitHub action using version tag without SHA pinning Category: security Description: Suggestion: Why this matters: Supply chain attacks on popular actions can compromise all dependent repositories. Confidence: 65% |
||
| with: | ||
| path: ~/.cache/pypoetry | ||
| key: poetry-${{ runner.os }}-${{ hashFiles('autogpt_platform/backend/poetry.lock') }} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,7 +44,7 @@ jobs: | |
| run: echo "key=${{ runner.os }}-pnpm-${{ hashFiles('autogpt_platform/frontend/pnpm-lock.yaml', 'autogpt_platform/frontend/package.json') }}" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.pnpm-store | ||
| key: ${{ steps.cache-key.outputs.key }} | ||
|
|
@@ -72,7 +72,7 @@ jobs: | |
| run: corepack enable | ||
|
|
||
| - name: Restore dependencies cache | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: ~/.pnpm-store | ||
| key: ${{ needs.setup.outputs.cache-key }} | ||
|
|
@@ -107,7 +107,7 @@ jobs: | |
| run: corepack enable | ||
|
|
||
| - name: Restore dependencies cache | ||
| uses: actions/cache@v4 | ||
| 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 commentThe reason will be displayed to describe this comment to others. Learn more. 🟠 HIGH - Third-party action using @latest version tag Category: security Description: Suggestion: Confidence: 95% |
||
|
|
@@ -155,7 +155,7 @@ jobs: | |
| uses: docker/setup-buildx-action@v3 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM - Third-party action using version tag without SHA pinning Category: security Description: Suggestion: Confidence: 70% |
||
|
|
||
| - name: Cache Docker layers | ||
| uses: actions/cache@v4 | ||
| uses: actions/cache@v5 | ||
| with: | ||
| path: /tmp/.buildx-cache | ||
| key: ${{ runner.os }}-buildx-frontend-test-${{ hashFiles('autogpt_platform/docker-compose.yml', 'autogpt_platform/backend/Dockerfile', 'autogpt_platform/backend/pyproject.toml', 'autogpt_platform/backend/poetry.lock') }} | ||
|
|
@@ -210,7 +210,7 @@ jobs: | |
| fi | ||
|
|
||
| - name: Restore dependencies cache | ||
| uses: actions/cache@v4 | ||
| 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.
🟡 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_versionReview ID:
3291cb5c-715f-4b33-acc2-77a0d8829dd9Rate it 👍 or 👎 to improve future reviews | Powered by diffray