You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is a summary of compliance checks for this PR:
Security Compliance
⚪
Actions supply chain
Description: GitHub Actions are referenced by mutable version tags (e.g., actions/setup-node@v6, gradle/actions/setup-gradle@v5, jaxxstorm/action-install-gh-release@v2.1.0, actions/upload-artifact@v6) instead of being pinned to an immutable commit SHA, leaving the workflows potentially exposed to upstream tag retargeting/supply-chain compromise (similar non-SHA uses: updates also occur in .github/workflows/pr-validation.yml, .github/workflows/publish.yml, and .github/workflows/release.yml). test.yml [31-100]
Why: This suggestion correctly identifies a critical breaking change in actions/download-artifact@v7 where the run-id input was renamed to run_id, preventing a workflow failure.
High
High-level
Address breaking changes from dependency upgrades
The PR upgrades node-fetch and yargs to major versions that are ESM-only, which will break the current CommonJS project. The suggestion is to either revert these dependency upgrades or refactor the project to support ESM.
// package.json
{
"dependencies": {
..."node-fetch": "^2.7.0", // Reverted to CJS-compatible version"yargs": "^17.7.2"// Reverted to previous version...
},
...
}
Suggestion importance[1-10]: 9
__
Why: This suggestion correctly identifies a critical breaking change in the node-fetch dependency upgrade to an ESM-only version, which will break the application in a CommonJS project.
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
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.
User description
Description
Closes #365, #364, #363, #356, #348, #346, #345 and #344
This pins Syft version in CI to v1.41.1 to help stabilize CI when versions change. We should do something similar for skopeo :|
Checklist
PR Type
Enhancement
Description
Bump GitHub Actions workflow dependencies to latest versions
Update
actions/setup-nodefrom v5 to v6 across all workflowsUpdate
actions/download-artifactto v7 andactions/upload-artifactto v6Upgrade
gradle/actions/setup-gradlefrom v4 to v5Bump npm dependencies:
node-fetchto v3.3.2 andyargsto v18.0.0Update
eslintdev dependency to v9.39.2Upgrade
jaxxstorm/action-install-gh-releaseto v2.1.0Diagram Walkthrough
File Walkthrough
pr-validation.yml
Bump setup-node action to v6.github/workflows/pr-validation.yml
actions/setup-nodefrom v5 to v6publish.yml
Bump setup-node and download-artifact actions.github/workflows/publish.yml
actions/setup-nodefrom v5 to v6 in publish-ea jobactions/setup-nodefrom v5 to v6 in publish-release jobactions/download-artifactfrom v5 to v7release.yml
Bump setup-node and upload-artifact actions.github/workflows/release.yml
actions/setup-nodefrom v5 to v6actions/upload-artifactfrom v5 to v6test.yml
Bump multiple GitHub Actions to latest versions.github/workflows/test.yml
actions/setup-nodefrom v5 to v6gradle/actions/setup-gradlefrom v4 to v5jaxxstorm/action-install-gh-releasefrom v1.10.0 to v2.1.0actions/upload-artifactfrom v4 to v6package.json
Upgrade npm dependencies to latest versionspackage.json
node-fetchfrom v2.7.0 to v3.3.2yargsfrom v17.7.2 to v18.0.0eslintfrom v8.42.0 to v9.39.2