-
Notifications
You must be signed in to change notification settings - Fork 13
build(deps): bump actions/checkout from 6 to 7 #550
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
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 |
|---|---|---|
|
|
@@ -19,7 +19,7 @@ jobs: | |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v6 | ||
| uses: actions/checkout@v7 | ||
|
Contributor
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. 🧩 Analysis chain🏁 Script executed: # Check if the file exists and read it
if [ -f .github/workflows/testing.yaml ]; then
echo "=== File found. Reading content ==="
cat -n .github/workflows/testing.yaml
else
echo "File not found"
fiRepository: package-operator/boxcutter Length of output: 2054 🏁 Script executed: # Also check for other workflow files to understand the pattern
echo "=== Checking for other workflow files ==="
fd -e yaml -e yml .github/workflows/Repository: package-operator/boxcutter Length of output: 508 🏁 Script executed: # Check for other workflow files properly
echo "=== Looking for other workflow files ==="
fd . '.github/workflows/' --type f
# Also check what other actions are used in this file to see pinning patterns
echo ""
echo "=== Other actions in testing.yaml ==="
grep -n "uses:" .github/workflows/testing.yamlRepository: package-operator/boxcutter Length of output: 414 🌐 Web query:
💡 Result: Pinning GitHub Actions to a full-length commit SHA (e.g., 40 characters) is a critical security best practice for supply chain hardening [1][2][3]. While version tags (like Citations:
Pin the checkout action to an exact commit SHA for supply chain security. Line 22 uses Suggested change- - name: Checkout
- uses: actions/checkout@v7
+ - name: Checkout
+ uses: actions/checkout@<FULL_LENGTH_COMMIT_SHA> # v7🧰 Tools🪛 zizmor (1.25.2)[error] 22-22: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy) (unpinned-uses) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
|
|
||
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.
🧩 Analysis chain
🏁 Script executed:
Repository: package-operator/boxcutter
Length of output: 361
🌐 Web query:
actions/checkout v7 commit SHA release tag github💡 Result:
As of today, June 18, 2026, the
actions/checkoutaction has released versionv7.0.0[1]. Thev7.0.0release introduces support for ECMAScript Modules (ESM) to accommodate newer versions of@actions/*packages and includes security-focused updates, such as blocking the checkout of fork pull requests inpull_request_targetandworkflow_runcontexts [1][2]. The specific commit SHA for thev7.0.0release tag is9c091bb[1]. For your workflow configuration, you can use thev7tag as follows:yaml - uses: actions/checkout@v7Whilev7.0.0is the latest major release, always refer to the official repository releases page for the most current information and changelogs [1].Citations:
Pin
actions/checkoutto a commit SHA (not a mutable major tag).Line 36 currently uses
actions/checkout@v7, which is mutable and poses a supply-chain risk. The v7 tag corresponds to commit9c091bb. Pin to this commit SHA to prevent supply-chain drift.Note: Multiple workflow files have unpinned checkout references (also at
testing.yaml:22).Suggested change
📝 Committable suggestion
🧰 Tools
🪛 zizmor (1.25.2)
[error] 36-36: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents
Source: Linters/SAST tools