1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-01 13:48:52 +08:00

Merge pull request #1447 from shirou/feature/add_sbom_github_actions

Add github SBOM Generator
This commit is contained in:
shirou 2023-04-06 22:50:27 +09:00 committed by GitHub
commit 21a646bd82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

25
.github/workflows/sbom_generator.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: SBOM Generator
on:
push:
branches: [ "main" ]
workflow_dispatch:
permissions: read-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: advanced-security/sbom-generator-action@v0.0.1
id: sbom
env:
GITHUB_TOKEN: ${{ github.token }}
- uses: actions/upload-artifact@v3.1.0
with:
path: ${{steps.sbom.outputs.fileName }}
name: "SBOM"