Skip to content

Commit

Permalink
github sbom
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkuba committed Feb 13, 2024
2 parents 01d28f4 + e2cb595 commit 767abcc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: SBOM
on:
push:
branches:
- main
pull_request:
merge_group:
workflow_dispatch:

permissions: read-all

jobs:
node-tests:
strategy:
fail-fast: false
sbom:
runs-on: ubuntu-latest
env:
NPM_CONFIG_UNSAFE_PERM: true
Expand All @@ -27,7 +22,12 @@ jobs:
- name: Bootstrap
run: npm ci

- name: Build 🔧
run: npm run compile
- uses: advanced-security/sbom-generator-action@v0.0.1
id: sbom
env:
GITHUB_TOKEN: ${{ github.token }}

- uses: anchore/sbom-action@v0
- uses: actions/upload-artifact@v3.1.0
with:
path: ${{steps.sbom.outputs.fileName }}
name: "SBOM"

0 comments on commit 767abcc

Please sign in to comment.