mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-28 13:48:49 +08:00
Add github SBOM Generator
See this GitHub blog post https://github.blog/2023-03-28-introducing-self-service-sboms/
This commit is contained in:
parent
6bda1a5c01
commit
d7f65a84ca
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