Skip to content

Commit 92a1324

Browse files
authored
Implement SBOM creation on push
Add CycloneDX generator for SBOM file on each push action.
1 parent 0b9d82c commit 92a1324

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on: [push]
2+
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
7+
steps:
8+
- uses: actions/checkout@v2
9+
10+
- name: Generate SBOM
11+
uses: CycloneDX/gh-python-generate-sbom@v2
12+
with:
13+
input: ./requirements.txt
14+
output: ./bom.json
15+
format: json
16+

0 commit comments

Comments
 (0)