Skip to content

Merge pull request #107 from hico-horiuchi/dependencies/2025-02-09 #32

Merge pull request #107 from hico-horiuchi/dependencies/2025-02-09

Merge pull request #107 from hico-horiuchi/dependencies/2025-02-09 #32

Workflow file for this run

name: SBOM
on:
push:
branches:
- master
permissions:
contents: write
jobs:
security_check:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v4
# https://github.com/aquasecurity/trivy-action
- uses: aquasecurity/[email protected]
with:
format: github
github-pat: ${{ secrets.GITHUB_TOKEN }}
output: dependency-results.sbom.json
scan-ref: package-lock.json
scan-type: fs
trivy-config: .trivy.yaml
# https://github.com/actions/upload-artifact
- uses: actions/upload-artifact@v4
with:
name: trivy-sbom-report
path: ${{ github.workspace }}/dependency-results.sbom.json
retention-days: 7