Skip to content

Commit

Permalink
add sbom gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
bennetelli committed Aug 14, 2023
1 parent 237f2cd commit 9af2309
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 Generator

on:
push:
branches: [ "main" ]

workflow_dispatch:

permissions: read-all

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: advanced-security/sbom-generator-action@v0.0.1
id: sbom
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/upload-artifact@v3.1.0
with:
path: ${{steps.sbom.outputs.fileName }}
name: "SBOM"

0 comments on commit 9af2309

Please sign in to comment.