Draft
Fix snyk-security.yml: upgrade actions, bump Node to 20, fix SARIF upload#71
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
…dition Co-authored-by: Mapuppy09 <144494139+Mapuppy09@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issue with Copilot functionality
Fix snyk-security.yml: upgrade actions, bump Node to 20, fix SARIF upload
Aug 15, 2026
…-pr.yml Co-authored-by: Mapuppy09 <144494139+Mapuppy09@users.noreply.github.com>
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.
The Snyk security workflow was failing due to a combination of deprecated action versions, Node 18 incompatibility with packages requiring
^20.17.0, a missing--sarif-file-outputflag, and an unconditional SARIF upload that errored when the file wasn't produced.Changes
npm-registry-fetch@^19, etc.) that caused Snyk to reportpackage.json/package-lock.jsonout of syncactions/checkout/actions/setup-nodev3 → v4 — v3 targets deprecated Node 20 runnergithub/codeql-action/upload-sarifv2 → v3 — v2 is deprecated and blocked the step--sarif-file-output=snyk.sarifto Snyk args — required for the file to actually be writtenhashFiles('snyk.sarif') != ''— prevents "Path does not exist" failure when Snyk exits non-zero without producing the file