Skip to content

build(deps): bump GitHub Actions to fix Node.js 20 deprecation#6036

Merged
cplee merged 13 commits intomasterfrom
bump-action-versions
Mar 24, 2026
Merged

build(deps): bump GitHub Actions to fix Node.js 20 deprecation#6036
cplee merged 13 commits intomasterfrom
bump-action-versions

Conversation

@cplee
Copy link
Contributor

@cplee cplee commented Mar 23, 2026

Summary

  • Bump all GitHub Actions to resolve Node.js 20 deprecation warnings:
    • actions/checkout v4 → v6
    • actions/setup-go v5 → v6
    • actions/upload-artifact v4 → v7
    • golangci/golangci-lint-action v6.5.0 → v9
    • goreleaser/goreleaser-action v6 → v7
    • docker/setup-qemu-action v3 → v4
    • test-summary/action v2 → v2.4
    • fregante/setup-git-user v2 → v2.0.2
  • Add CLAUDE.md for Claude Code guidance
  • Fix @octokit/request-error CVE (GHSA-xx4v-prfh-6cgc): bump @actions/github → 6.0.1 (node12/16) and 9.0.0 (node20) in test fixtures
  • Upgrade node20 test fixture to ESM to also resolve undici CVEs

Test plan

  • Triggered promote workflow manually to verify token fix
  • CI checks pass with no Node.js 20 deprecation warnings
  • CI lint job passes (grype no longer flags @octokit/request-error)
  • CI test jobs pass with updated test fixture dependencies

Update actions/checkout v4→v6, actions/setup-go v5→v6, and
fregante/setup-git-user v2→v2.0.2 across all workflow files.
@pull-request-size pull-request-size bot added size/M and removed size/S labels Mar 23, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 23, 2026

🦙 MegaLinter status: ⚠️ WARNING

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
⚠️ YAML 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

MegaLinter is graciously provided by OX Security

@mergify mergify bot added the needs-work Extra attention is needed label Mar 23, 2026
@codecov
Copy link

codecov bot commented Mar 23, 2026

Codecov Report

❌ Patch coverage is 79.29936% with 65 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.86%. Comparing base (bd4bc99) to head (5ea2281).
⚠️ Report is 37 commits behind head on master.

Files with missing lines Patch % Lines
pkg/container/docker_cli.go 74.42% 47 Missing and 9 partials ⚠️
pkg/container/docker_run.go 88.73% 4 Missing and 4 partials ⚠️
pkg/container/docker_network.go 87.50% 0 Missing and 1 partial ⚠️
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.
📢 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.

cplee added 7 commits March 23, 2026 11:18
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.
@cplee cplee force-pushed the bump-action-versions branch from 24544d3 to 3826261 Compare March 23, 2026 18:55
cplee added 3 commits March 23, 2026 13:01
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
@mergify mergify bot removed the needs-work Extra attention is needed label Mar 23, 2026
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.
@cplee cplee merged commit 10add23 into master Mar 24, 2026
10 checks passed
@cplee cplee deleted the bump-action-versions branch March 24, 2026 15:06
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