Skip to content

feat: Add sbom-flags input and harden SBOM steps#133

Open
vatsalyagoel wants to merge 1 commit intomainfrom
vatsalyagoel/sbom-customisation
Open

feat: Add sbom-flags input and harden SBOM steps#133
vatsalyagoel wants to merge 1 commit intomainfrom
vatsalyagoel/sbom-customisation

Conversation

@vatsalyagoel
Copy link
Copy Markdown
Contributor

Summary

  • Adds optional sbom-flags input to pass custom flags to npm sbom (e.g. --omit dev)
  • Hardens SBOM generation and validation steps against command injection by using env: instead of direct ${{ inputs.* }} interpolation in run: blocks

Test plan

  • Verify SBOM generation works with no sbom-flags (default behaviour)
  • Verify SBOM generation works with custom flags e.g. sbom-flags: '--omit dev'

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

🛡️ SHA Pinned Actions Report

✅ All 28 file(s) passed — actions are allowed and pinned as required.

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.

1 participant