build(deps): bump GitHub Actions to fix Node.js 20 deprecation#6036
Merged
build(deps): bump GitHub Actions to fix Node.js 20 deprecation#6036
Conversation
Update actions/checkout v4→v6, actions/setup-go v5→v6, and fregante/setup-git-user v2→v2.0.2 across all workflow files.
Contributor
🦙 MegaLinter status:
|
| Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
|---|---|---|---|---|---|
| ✅ EDITORCONFIG | editorconfig-checker | 23 | 0 | 0.06s | |
| ✅ MARKDOWN | markdownlint | 1 | 0 | 0.37s | |
| ✅ REPOSITORY | gitleaks | yes | no | 5.9s | |
| ✅ REPOSITORY | git_diff | yes | no | 0.06s | |
| ✅ REPOSITORY | grype | yes | no | 14.34s | |
| ✅ REPOSITORY | secretlint | yes | no | 1.8s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | 0.69s | |
| ✅ REPOSITORY | trufflehog | yes | no | 8.13s | |
| prettier | 6 | 1 | 0.35s | ||
| ✅ YAML | v8r | 6 | 0 | 3.95s |
See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #6036 +/- ##
==========================================
+ Coverage 74.65% 76.86% +2.21%
==========================================
Files 73 74 +1
Lines 11139 9307 -1832
==========================================
- Hits 8316 7154 -1162
+ Misses 2186 1509 -677
- Partials 637 644 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bump @actions/github 4.0.0→6.0.1 and @vercel/ncc 0.24.1→0.38.4 in node12/node16/node20 test fixtures to fix @octokit/request-error CVE (GHSA-xx4v-prfh-6cgc) flagged by grype in CI.
Rewrite index.js to ESM imports, add "type": "module", and upgrade to @actions/core@3 and @actions/github@9 to fully resolve all npm vulnerabilities including undici CVEs.
…nings - golangci/golangci-lint-action v6.5.0 → v9 (node24) - test-summary/action v2 → v2.4 - actions/upload-artifact v4 → v7 - goreleaser/goreleaser-action v6 → v7 (node24) - docker/setup-qemu-action v3 → v4
- Add blank line before list in CLAUDE.md (MD032) - Add .gitleaks.toml to allowlist testdata dist bundles (false positive on example API token string in @actions/core docs) - Configure megalinter to use local gitleaks config
golangci-lint-action v9 requires golangci-lint v2+. Migrate .golangci.yml to v2 config format: linters-settings → linters.settings, issues.exclude-dirs → linters.exclusions.paths, goimports moved to formatters section.
24544d3 to
3826261
Compare
Resolves GHSA-p436-gjf2-799p (Docker CLI local privilege escalation). - Bump github.com/docker/cli v28.4.0 → v29.3.0 - Migrate github.com/docker/docker/api/types/* → github.com/moby/moby/api/types/* - Migrate github.com/docker/docker/client → github.com/moby/moby/client - Migrate github.com/docker/docker/pkg/stdcopy → github.com/moby/moby/api/pkg/stdcopy - Update vendored docker_cli.go from docker/cli v29 opts.go - Adapt all Docker client API calls to moby/moby/client v0.3.0 signatures
- Use [allowlist] (map) instead of [[allowlist]] (array) for gitleaks - Fix indentation in .gitleaks.toml (tabs per editorconfig) - Run prettier on workflow YAML files
Replace errdefs.InvalidParameter() wrapper with plain errors in the vendored docker_cli.go. No code checks the error type, so the wrapper was a no-op. This removes the last import of github.com/docker/docker.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
actions/checkoutv4 → v6actions/setup-gov5 → v6actions/upload-artifactv4 → v7golangci/golangci-lint-actionv6.5.0 → v9goreleaser/goreleaser-actionv6 → v7docker/setup-qemu-actionv3 → v4test-summary/actionv2 → v2.4fregante/setup-git-userv2 → v2.0.2@octokit/request-errorCVE (GHSA-xx4v-prfh-6cgc): bump@actions/github→ 6.0.1 (node12/16) and 9.0.0 (node20) in test fixturesTest plan