Skip to content

Bump actions/setup-go from 6 to 7 - #85

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/setup-go-7
Open

Bump actions/setup-go from 6 to 7#85
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/setup-go-7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 12, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/setup-go from 6 to 7.

Release notes

Sourced from actions/setup-go's releases.

v7.0.0

What's Changed

New Contributors

Full Changelog: actions/setup-go@v6...v7.0.0

v6.5.0

What's Changed

Dependency update

New Contributors

Full Changelog: actions/setup-go@v6...v6.5.0

v6.4.0

What's Changed

Enhancement

Dependency update

Documentation update

New Contributors

Full Changelog: actions/setup-go@v6...v6.4.0

v6.3.0

What's Changed

Full Changelog: actions/setup-go@v6...v6.3.0

v6.2.0

What's Changed

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will 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

  • Chores
    • Updated automated release, testing, sanity-check, and unit-test workflows to use the latest Go setup action version.
    • Improved consistency across CI workflows without changing application behavior.

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>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 12, 2026
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Walkthrough

The release and test GitHub Actions workflows now use actions/setup-go@v7 instead of actions/setup-go@v6.

Changes

Go setup action upgrade

Layer / File(s) Summary
Release workflow Go setup
.github/workflows/release.yml
The build-cache and goreleaser jobs now use actions/setup-go@v7.
Test workflow Go setup
.github/workflows/test-ansible.yml, .github/workflows/test-sanity.yml, .github/workflows/unit.yml
The Ansible, sanity, and unit workflows now use actions/setup-go@v7.

Estimated code review effort: 1 (Trivial) | ~5 minutes

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely identifies the version update to actions/setup-go, which is the primary change in the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The PR diff only changes actions/setup-go versions in four workflow files; it adds no Ginkgo test titles or dynamic test-name values.
Test Structure And Quality ✅ Passed The verified diff changes only four workflow files from setup-go@v6 to @v7; no Ginkgo test code, It blocks, fixtures, waits, or assertions changed.
Microshift Test Compatibility ✅ Passed The PR diff changes only four GitHub workflow files from setup-go@v6 to @v7; it adds no Ginkgo tests or MicroShift-incompatible API usage.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The diff only changes six actions/setup-go references from v6 to v7 in workflow files; it adds no Ginkgo e2e tests or multi-node assumptions.
Topology-Aware Scheduling Compatibility ✅ Passed The PR changes only four GitHub Actions workflow references from setup-go@v6 to @v7; it adds no deployment manifests, operators, controllers, or scheduling constraints.
Ote Binary Stdout Contract ✅ Passed The diff only changes six GitHub Actions references from actions/setup-go@v6 to @v7; it adds no OTE process-level code or stdout writes.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The commit changes only six actions/setup-go references from v6 to v7; it adds no Ginkgo tests, IPv4 assumptions, or external connectivity requirements.
No-Weak-Crypto ✅ Passed The PR only changes setup-go references from v6 to v7; no added lines or affected workflows contain weak algorithms, custom crypto, or secret comparisons.
Container-Privileges ✅ Passed The diff changes only six setup-go action references in GitHub workflows. It adds no privileged, host namespace, SYS_ADMIN, root, or allowPrivilegeEscalation settings.
No-Sensitive-Data-In-Logs ✅ Passed The diff only changes six actions/setup-go references from v6 to v7; it adds no logging statements or sensitive data output.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/actions/setup-go-7

Comment @coderabbitai help to get the list of available commands.

@openshift-ci

openshift-ci Bot commented Aug 12, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dependabot[bot]
Once this PR has been reviewed and has the lgtm label, please assign grokspawn for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 12, 2026
@openshift-ci

openshift-ci Bot commented Aug 12, 2026

Copy link
Copy Markdown

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions 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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 0b45bff and 95cdd7f.

📒 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 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}' || true

Repository: 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:


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants