Add github SBOM Generator

See this GitHub blog post
https://github.blog/2023-03-28-introducing-self-service-sboms/
pull/1447/head
shirou 2 years ago
parent 6bda1a5c01
commit d7f65a84ca

@ -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"
Loading…
Cancel
Save