-
Notifications
You must be signed in to change notification settings - Fork 0
Update actions/checkout action to v7 #66
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: main
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 |
|---|---|---|
|
|
@@ -6,7 +6,7 @@ jobs: | |
| build: | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 | ||
| - name: Setup Go | ||
|
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. The comment 💡 Suggestion: If updating is required, ensure the comment accurately reflects the verified major or full semantic version of the pinned commit hash (for example, |
||
| uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5 | ||
| with: | ||
|
|
||
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.
🚨🔒 Security
The workflow updates
actions/checkoutto commit9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0with the comment# v7. The officialactions/checkoutaction has nov7release; the current major version isv4. Using a non-existent or unverified major version of a core privileged action that checks out repository source code and handles theGITHUB_TOKENexposes the build pipeline to severe supply chain compromise, including potential exfiltration of secrets or source code.💡 Suggestion: Reject this update. Restore the verified pinned SHA for the latest official
v4release (11bd71901bbe5b1630ceea73d27597364c9af683forv4.2.2) or another officially documented release, confirming the SHA against theactions/checkoutGitHub repository.