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 Jul 11, 2024
1 parent 5e532ef commit 5fdeeac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/sbom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
output-file: "${{ github.event.repository.name }}-sbom.spdx.json"
config: "${{ github.workspace }}.github/linters/syft.yml"

- name: "Create SBOM"
- name: "Log SBOM filename"
shell: bash
run: |
echo "Output ${{ github.event.repository.name }}-sbom.spdx.json"
Expand Down Expand Up @@ -55,7 +55,7 @@ runs:
- name: "Scan SBOM (private repo)"
uses: anchore/[email protected]
if: always()
if: inputs.REPO_VISIBILITY == 'private'
with:
sbom: "${{ github.event.repository.name }}-sbom.spdx.json"
fail-build: false
Expand Down

0 comments on commit 5fdeeac

Please sign in to comment.