-
-
Notifications
You must be signed in to change notification settings - Fork 624
44 lines (37 loc) · 911 Bytes
/
sbom.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build SBOMs
on:
push:
branches:
- master
paths:
- 'package-lock.json'
- 'poetry.lock'
jobs:
js-sbom:
needs: run-tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and upload SBOM
uses: sbomify/github-action@master
env:
TOKEN: ${{ secrets.SBOMIFY_TOKEN }}
COMPONENT_ID: 'LCkvzm8qaL'
SBOM_FILE: 'package-lock.json'
AUGMENT: true
UPLOAD: true
python-sbom:
needs: run-tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and upload SBOM
uses: sbomify/github-action@master
env:
TOKEN: ${{ secrets.SBOMIFY_TOKEN }}
COMPONENT_ID: 'Vhc4zm8pdV'
SBOM_FILE: 'poetry.lock'
AUGMENT: true
UPLOAD: true