Skip to content

Commit

Permalink
Added a page to list 3rd Party Licenses (ohcnetwork#8748)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellmeY18 authored Oct 21, 2024
1 parent 30f160e commit b9d7801
Show file tree
Hide file tree
Showing 11 changed files with 185,212 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/generate-sbom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Generate SBOM using CycloneDX

on:
workflow_dispatch:

jobs:
generate-sbom:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install dependencies
run: npm ci

- name: Install CycloneDX NPM tool
run: npm install -g @cyclonedx/cyclonedx-npm

- name: Generate SBOM
run: cyclonedx-npm --output-file sbom.json

- name: Upload SBOM
uses: actions/upload-artifact@v3
with:
name: sbom
path: sbom.json
if-no-files-found: error
Loading

0 comments on commit b9d7801

Please sign in to comment.