Skip to content

Commit b0e8313

Browse files
committed
first attempt to run compliance-assistant in workflow
1 parent e9596aa commit b0e8313

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/sbom.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SPDX-FileCopyrightText: 2024 DB Systel GmbH
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
name: Full SBOM Workflow
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
pull_request:
12+
13+
jobs:
14+
sbom:
15+
runs-on: ubuntu-22.04
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Set up Python
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: "3.12"
23+
- name: Install compliance-assistant
24+
run: pip install compliance-assistant
25+
- name: Generate SBOM
26+
run: compliance-assistant sbom-generate -d . -o sbom-raw.json

0 commit comments

Comments
 (0)