Skip to content

Commit c297aea

Browse files
committed
Test ort-ci-github-action in a workflow
Signed-off-by: tdruez <[email protected]>
1 parent ba53d70 commit c297aea

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Generate SBOM with ORT and load into ScanCode.io
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches:
8+
- main
9+
10+
permissions:
11+
contents: read
12+
13+
env:
14+
IMAGE_REFERENCE: "python:3.13.0-slim"
15+
16+
jobs:
17+
generate-and-load-sbom:
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- name: Create requirements.txt
21+
run: |
22+
cat << 'EOF' > requirements.txt
23+
amqp==5.1.1
24+
appdirs==1.4.4
25+
asgiref==3.5.2
26+
urllib3==1.26.0
27+
EOF
28+
29+
- name: Run GitHub Action for ORT
30+
uses: oss-review-toolkit/ort-ci-github-action@v1

0 commit comments

Comments
 (0)