mirror of https://github.com/shirou/gopsutil
Merge pull request #1447 from shirou/feature/add_sbom_github_actions
Add github SBOM Generatorpull/1448/head
commit
21a646bd82
@ -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…
Reference in New Issue