Skip to content

Commit

Permalink
Create sbom.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BatistaGabriel authored Apr 27, 2024
1 parent 1a9a6a5 commit 32d3079
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 }}

0 comments on commit 32d3079

Please sign in to comment.