Skip to content

fix(actionlint): build with the latest stable Go - #53

Open
kojiromike wants to merge 1 commit into
mainfrom
fix/actionlint-stable-go
Open

kojiromike wants to merge 1 commit into
mainfrom
fix/actionlint-stable-go

Conversation

@kojiromike

Copy link
Copy Markdown
Contributor

After merge, the release-please PR cuts the next version. Consumers then get Dependabot PRs for the new tag.

This updates the reusable workflow to build actionlint with the latest stable Go. The setup-go action previously installed the exact Go version from the fork's go.mod file. That version is 1.25.0. It is out of support and has three reachable standard library vulnerabilities. These are GO-2026-4602, GO-2026-4601, and GO-2025-4010. Dependabot alerts do not cover toolchains, so we found this using govulncheck during the org Dependabot alert sweep.

Using stable means the version floats, so each new Go release arrives without a PR. Pinning a minor version like 1.27 would need hand bumps since Dependabot does not see it.

Separate from this, consumers' pre-commit hooks still pin v1.7.12-oce.1 and build with the developer's local Go.

Tested: v1.7.12-oce.3 built with Go 1.27.4. Running govulncheck -mode=binary is clean, and the binary lints this repo clean.

The setup-go action previously read go 1.25.0 from the fork's go.mod and installed exactly Go 1.25.0. That release is past end of support. Running govulncheck on a 1.25.0 build of v1.7.12-oce.3 finds three standard-library vulnerabilities actionlint's code reaches. These are GO-2026-4602 (os), GO-2026-4601 and GO-2025-4010 (net/url). Go 1.25.8 or later fixes them. No Dependabot alert covers the toolchain. The action now uses a stable go-version so it builds actionlint with the latest stable Go.

We built v1.7.12-oce.3 with Go 1.27.4 (current stable) to test. Running govulncheck -mode=binary finds no vulnerabilities and the binary lints this repo's workflows clean. There is no matrix, because a matrix would rename the job's check, which consumers may require. Consumers pick this up through Dependabot when this repo releases.

Assisted-by: Claude Code
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 003e9a69-67a8-40e4-8d0a-e6a1b89efaca

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant