Skip to content

Commit

Permalink
[Actions] Updated .github/actions/sbom/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Feb 26, 2024
1 parent b2ceb4f commit d74a98f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/sbom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: 'Run Software Bill of Materials'
description: 'Software Bill of materials'
inputs:
# GENERAL
GITHUB_TOKEN:
description: 'Github Token'
required: true
REPO_VISIBILITY:
description: 'Visibility of the repo'
required: true
Expand All @@ -17,8 +20,10 @@ runs:
- name: "Create SBOM"
uses: anchore/[email protected]
with:
github-token: ${{inputs.GITHUB_TOKEN}}
format: spdx-json
output-file: "${{ github.event.repository.name }}-sbom.spdx.json"
config: "${{ github.workspace }}.github/linters/syft.yml"

- name: "Create SBOM"
shell: bash
Expand Down

0 comments on commit d74a98f

Please sign in to comment.