We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0838bb0 commit b33d57dCopy full SHA for b33d57d
.github/workflows/sbom.yaml
@@ -21,6 +21,12 @@ jobs:
21
#- name: Install Composer dependencies
22
# run: composer install --no-progress --no-suggest --prefer-dist --no-interaction
23
24
+ - name: Install snapd
25
+ run: sudo apt install -y snapd
26
+
27
+ - name: Install OSV-Scanner
28
+ run : sudo snap install -y osv-scanner
29
30
- name: Allow SBOM Plugin
31
run: composer config --no-plugins allow-plugins.cyclonedx/cyclonedx-php-composer true
32
@@ -30,6 +36,9 @@ jobs:
36
- name: CREATE SBOM
37
run: composer CycloneDX:make-sbom --output-file=sbom.json --output-format=json
38
39
+ - name: Run OSV-Scanner
40
+ run: osv-scanner --sbom=sbom.json
41
33
42
- name: Upload SBOM as an artifact
34
43
uses: actions/upload-artifact@v4
35
44
with:
0 commit comments