Skip to content

Commit 21a646b

Browse files
authored
Merge pull request #1447 from shirou/feature/add_sbom_github_actions
Add github SBOM Generator
2 parents bcf3fe9 + 90f9165 commit 21a646b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/sbom_generator.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: SBOM Generator
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
workflow_dispatch:
8+
9+
permissions: read-all
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- uses: advanced-security/[email protected]
19+
id: sbom
20+
env:
21+
GITHUB_TOKEN: ${{ github.token }}
22+
- uses: actions/[email protected]
23+
with:
24+
path: ${{steps.sbom.outputs.fileName }}
25+
name: "SBOM"

0 commit comments

Comments
 (0)