Skip to content

chore(ci): reduce Node.js 20 deprecation warnings in workflows#7722

Open
SipengShen01 wants to merge 1 commit into
karmada-io:release-1.17from
SipengShen01:release1.17
Open

chore(ci): reduce Node.js 20 deprecation warnings in workflows#7722
SipengShen01 wants to merge 1 commit into
karmada-io:release-1.17from
SipengShen01:release1.17

Conversation

@SipengShen01

Copy link
Copy Markdown

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
This PR reduces dependency on the deprecated Node.js 20 runtime in GitHub Actions workflows, as warned by GitHub. The following changes are made:

  • Bump aquasecurity/trivy-action from v0.35.0 (commit hash) to v0.36.0 (tag) to remove Node.js 20 usage.
  • Bump softprops/action-gh-release from v2 to v3.0.1 for the same reason.
  • Replace a7ul/tar-action@v1.2.0 with a direct tar command (tar -czf crds.tar.gz -C ./charts/karmada crds). The action is no longer maintained and still relies on Node.js 20; the built-in tar command is fully equivalent and removes the external dependency.

The slsa-framework/slsa-github-generator remains at v2.1.0 because that is currently the latest version and still uses Node.js 20 internally.

Which issue(s) this PR fixes:
Fixes #7702

Special notes for your reviewer:
NONE

Does this PR introduce a user-facing change?:

NONE

@karmada-bot karmada-bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jul 7, 2026
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@karmada-bot karmada-bot requested a review from jwcesign July 7, 2026 01:29
@karmada-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign liangyuanpeng 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

@karmada-bot karmada-bot requested a review from liangyuanpeng July 7, 2026 01:29
@karmada-bot karmada-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 7, 2026
@codecov-commenter

codecov-commenter commented Jul 7, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.02%. Comparing base (c92348c) to head (ef0934a).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@               Coverage Diff                @@
##           release-1.17    #7722      +/-   ##
================================================
+ Coverage         42.01%   42.02%   +0.01%     
================================================
  Files               874      874              
  Lines             53571    53571              
================================================
+ Hits              22508    22515       +7     
+ Misses            29376    29371       -5     
+ Partials           1687     1685       -2     
Flag Coverage Δ
unittests 42.02% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

a7ul/tar-action, softprops/action-gh-release,aquasecurity/trivy-action upgrade

add dco

Signed-off-by: shensipeng <sipeng@whu.edu.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants