Skip to content

ci: bump pinned actions (codeql-action v4, setup-go v7, cache v6, create-pull-request v8) - #9018

Open
evan-devopsguy wants to merge 2 commits into
thanos-io:mainfrom
evan-devopsguy:burndown/actions-bump
Open

evan-devopsguy wants to merge 2 commits into
thanos-io:mainfrom
evan-devopsguy:burndown/actions-bump

Conversation

@evan-devopsguy

@evan-devopsguy evan-devopsguy commented Sep 10, 2026

Copy link
Copy Markdown
  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Bumps the four pinned GitHub Actions that still have open Dependabot PRs, to their current releases:

Action From To
github/codeql-action v3.28.19 v4.38.0
actions/setup-go v5.0.2 v7.0.0
actions/cache v4.2.1 v6.1.0
peter-evans/create-pull-request v7.0.7 v8.1.1

codeql-action v3 is deprecated, so the CodeQL workflow needs v4 to keep running. Everything stays SHA-pinned with the version in a trailing comment, matching the existing style.

The only cross-cutting change in these majors is the Node 24 runtime (runner ≥ 2.327.1). The workflows already run actions/checkout v7 on Node 24, so nothing new is required.

Supersedes #8542, #8476, #8503, #8151. actions/checkout is left alone (12 uses at v4.1.7, one at v7.0.0); happy to unify those in a follow-up if wanted.

Second commit: the CodeQL workflow pinned go-version: 1.22.x. setup-go v6+ sets GOTOOLCHAIN=local, so 1.22 could no longer auto-download the 1.26 toolchain go.mod requires, the Go build failed silently, and CodeQL reported "could not process any code written in Go". Aligned it to 1.26.x like go.yaml.

Verification

  • actionlint on this branch reports the same set as main (pre-existing shellcheck notes only, nothing new)
  • CI on this PR runs the modified workflows; first run showed the CodeQL Go job failing for the reason above, fixed in the second commit

Triage context: #9017.

…ate-pull-request v8)

github/codeql-action v3 is deprecated; v4 is required to keep the CodeQL
workflow running. The other three are the remaining open Dependabot
action bumps, taken to their current releases:

- github/codeql-action        v3.28.19 -> v4.38.0
- actions/setup-go            v5.0.2   -> v7.0.0
- actions/cache               v4.2.1   -> v6.1.0
- peter-evans/create-pull-request v7.0.7 -> v8.1.1

All are SHA-pinned with the version in a trailing comment, matching the
existing style. The only cross-cutting change in these majors is the
Node 24 runtime, which the workflows already use via actions/checkout v7.

actionlint reports the same findings as main (pre-existing shellcheck
notes only).

Signed-off-by: Evan <Evan.CloudDevOps@gmail.com>
setup-go v6+ sets GOTOOLCHAIN=local, so the 1.22.x pinned in the CodeQL
workflow can no longer auto-download the 1.26 toolchain go.mod asks for.
The Go build failed silently and CodeQL reported "could not process any
code written in Go". Aligning the version with go.yaml fixes it.

Signed-off-by: Evan <Evan.CloudDevOps@gmail.com>
@codecov

codecov Bot commented Sep 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.53%. Comparing base (d7833f6) to head (b94e51a).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9018      +/-   ##
==========================================
+ Coverage   64.52%   64.53%   +0.01%     
==========================================
  Files         289      289              
  Lines       37366    37366              
==========================================
+ Hits        24111    24115       +4     
+ Misses      11157    11156       -1     
+ Partials     2098     2095       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant