Bump actions/setup-go from 6 to 7 - #85
Conversation
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6 to 7. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@v6...v7) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
WalkthroughThe release and test GitHub Actions workflows now use ChangesGo setup action upgrade
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dependabot[bot] The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @dependabot[bot]. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/release.yml:
- Line 33: Pin all six actions/setup-go references to commit SHA
b7ad1dad31e06c5925ef5d2fc7ad053ef454303e: update .github/workflows/release.yml
at lines 33-33 and 71-71, .github/workflows/test-ansible.yml at lines 13-13 and
26-26, .github/workflows/test-sanity.yml at line 13-13, and
.github/workflows/unit.yml at line 13-13, preserving the existing v7.0.0 action
usage.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: bf3cc978-4c3b-4461-83d7-4bfcb85e4755
📒 Files selected for processing (4)
.github/workflows/release.yml.github/workflows/test-ansible.yml.github/workflows/test-sanity.yml.github/workflows/unit.yml
|
|
||
| - name: Install Go | ||
| uses: actions/setup-go@v6 | ||
| uses: actions/setup-go@v7 |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -u
printf '%s\n' '--- cited references ---'
for f in .github/workflows/release.yml .github/workflows/test-ansible.yml .github/workflows/test-sanity.yml .github/workflows/unit.yml; do
if [ -f "$f" ]; then
printf '%s\n' "--- $f ---"
rg -n -C 1 'actions/setup-go@' "$f" || true
else
printf 'MISSING %s\n' "$f"
fi
done
printf '%s\n' '--- repository-wide setup-go references ---'
rg -n 'actions/setup-go@' .github/workflows || true
printf '%s\n' '--- tag ref ---'
curl -fsSL 'https://api.github.com/repos/actions/setup-go/git/refs/tags/v7.0.0' |
jq '{ref, object}' || true
printf '%s\n' '--- proposed SHA commit ---'
curl -fsSL 'https://api.github.com/repos/actions/setup-go/commits/b7ad1dad31e06c5925ef5d2fc7ad053ef454303e' |
jq '{sha, html_url, message: .commit.message}' || trueRepository: openshift/ansible-operator-plugins
Length of output: 1428
🏁 Script executed:
#!/bin/bash
set -u
repo='https://github.com/actions/setup-go.git'
printf '%s\n' '--- v7.0.0 tag refs ---'
git ls-remote "$repo" 'refs/tags/v7.0.0' 'refs/tags/v7.0.0^{}' || true
printf '%s\n' '--- proposed SHA reachability ---'
git ls-remote "$repo" | awk '$1 == "b7ad1dad31e06c5925ef5d2fc7ad053ef454303e" { print }'Repository: openshift/ansible-operator-plugins
Length of output: 400
🌐 Web query:
actions/setup-go b7ad1dad31e06c5925ef5d2fc7ad053ef454303e v7.0.0
💡 Result:
The commit b7ad1dad31e06c5925ef5d2fc7ad053ef454303e corresponds to the official release of actions/setup-go version v7.0.0 [1][2]. This release, published on July 16, 2026, primarily focused on technical maintenance and internal upgrades rather than changes to the action's user-facing functionality [1][3]. Key updates include: * ESM Migration: The action's internals were migrated to ECMAScript Modules (ESM) to ensure compatibility with the latest @actions/* packages [3]. * Dependency Updates: The release included an upgrade of @actions/cache to version 6.2.0 [1][2]. The documentation explicitly notes that there were no changes to the action's inputs, outputs, or general behavior in this version [3]. As with previous versions, v7.0.0 continues to support Go environment setup, caching for Go modules, and problem matcher registration [4][3].
Citations:
- 1: https://github.com/actions/setup-go/releases/tag/v7.0.0
- 2: actions/setup-go@v6...v7.0.0
- 3: https://github.com/actions/setup-go
- 4: https://gitea.rs.h3.ink/actions/setup-go/src/commit/b7ad1dad31e06c5925ef5d2fc7ad053ef454303e/README.md
Pin all six actions/setup-go@v7 references to b7ad1dad31e06c5925ef5d2fc7ad053ef454303e, the v7.0.0 commit SHA.
🧰 Tools
🪛 zizmor (1.29.0)
[error] 33-33: runtime artifacts potentially vulnerable to a cache poisoning attack (cache-poisoning): enables caching by default
(cache-poisoning)
📍 Affects 4 files
.github/workflows/release.yml#L33-L33(this comment).github/workflows/release.yml#L71-L71.github/workflows/test-ansible.yml#L13-L13.github/workflows/test-ansible.yml#L26-L26.github/workflows/test-sanity.yml#L13-L13.github/workflows/unit.yml#L13-L13
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/release.yml at line 33, Pin all six actions/setup-go
references to commit SHA b7ad1dad31e06c5925ef5d2fc7ad053ef454303e: update
.github/workflows/release.yml at lines 33-33 and 71-71,
.github/workflows/test-ansible.yml at lines 13-13 and 26-26,
.github/workflows/test-sanity.yml at line 13-13, and .github/workflows/unit.yml
at line 13-13, preserving the existing v7.0.0 action usage.
Sources: Path instructions, MCP tools
Bumps actions/setup-go from 6 to 7.
Release notes
Sourced from actions/setup-go's releases.
... (truncated)
Commits
b7ad1dachore(deps): bump@actions/cacheto 6.2.0 (#771)0778a10Migrate to ESM and upgrade dependencies (#763)Dependabot 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 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)Summary by CodeRabbit