Skip to content

chore(ci): simplify npm cache configuration in check-links workflow#1757

Open
linkvt wants to merge 1 commit intokedacore:mainfrom
linkvt:simplify-check-links-ci
Open

chore(ci): simplify npm cache configuration in check-links workflow#1757
linkvt wants to merge 1 commit intokedacore:mainfrom
linkvt:simplify-check-links-ci

Conversation

@linkvt
Copy link
Copy Markdown
Contributor

@linkvt linkvt commented May 4, 2026

The custom cache-hash step extracted a subset of package.json fields into a temporary file for the cache key. Using the default package-lock.json is simpler.

Changes:

  • Remove "Create NPM cache-hash input file" step
  • Remove custom cache-dependency-path from setup-node

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)

The custom cache-hash step extracted a subset of package.json fields
into a temporary file for the cache key. Using the default
package-lock.json is simpler and more reliable.

Changes:
- Remove "Create NPM cache-hash input file" step
- Remove custom cache-dependency-path from setup-node

Signed-off-by: Vincent Link <vlink@redhat.com>
@linkvt linkvt requested a review from a team as a code owner May 4, 2026 10:13
@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

Deploy Preview for keda ready!

Name Link
🔨 Latest commit d06605e
🔍 Latest deploy log https://app.netlify.com/projects/keda/deploys/69f87153f860f30008c150d0
😎 Deploy Preview https://deploy-preview-1757--keda.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@linkvt linkvt requested a review from Copilot May 4, 2026 10:13
@linkvt linkvt enabled auto-merge (squash) May 4, 2026 10:13
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

  • Add your contribution to all applicable KEDA versions
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Learn more about:

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the check-links GitHub Actions workflow by relying on the default npm lockfile (package-lock.json) for cache key generation instead of generating a custom cache-hash input file.

Changes:

  • Removed the “Create NPM cache-hash input file” step (and its temporary tmp/ file usage).
  • Removed the custom cache-dependency-path override from actions/setup-node, allowing it to use the default lockfile behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants