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:
commit
21a646bd82
25
.github/workflows/sbom_generator.yml
vendored
Normal file
25
.github/workflows/sbom_generator.yml
vendored
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user