Skip to content

Commit

Permalink
Merge pull request #1447 from shirou/feature/add_sbom_github_actions
Browse files Browse the repository at this point in the history
Add github SBOM Generator
  • Loading branch information
shirou authored Apr 6, 2023
2 parents bcf3fe9 + 90f9165 commit 21a646b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sbom_generator.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 21a646b

Please sign in to comment.