Skip to content

ci(github): add periodic sbom and license check #1

ci(github): add periodic sbom and license check

ci(github): add periodic sbom and license check #1

Workflow file for this run

name: "Build bom and licenses"
on:
workflow_dispatch: {}
schedule:
- cron: 0 3 * * *
permissions: read-all
jobs:
sbom:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: go.mod

Check failure on line 14 in .github/workflows/bom.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/bom.yaml

Invalid workflow file

You have an error in your yaml syntax on line 14
- used: CycloneDX/gh-gomod-generate-sbom@efc74245d6802c8cefd925620515442756c70d8f # v2.0.0
with:
version: v1
args: mod -licenses -json -output licenses.json
- uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
with:
name: licenses
path: |
licenses.json