Skip to content

Create trivy.yml

Create trivy.yml #2

Workflow file for this run

name: sbom
on:
push:
branches:
- main
permissions:
contents: write
jobs:
scan:
name: Checkout
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Trivy sbom
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
format: 'github'
output: 'dependency-results-sbom.json'
scan-ref: '.'
github-pat: ${{ secrets.GITHUB_TOKEN }}