aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / .github / workflows / sbom.yml
| 1 | # SBOM: writes an SPDX JSON inventory of the tree at every push to main and on pull requests, as |
| 2 | # a workflow artifact, so outside auditors can diff what a commit contains. Read-only token; |
| 3 | # every action pinned by full commit sha. It judges nothing and gates nothing. |
| 4 | name: SBOM |
| 5 | on: |
| 6 | pull_request: |
| 7 | push: |
| 8 | branches: [main] |
| 9 | permissions: |
| 10 | contents: read |
| 11 | jobs: |
| 12 | sbom: |
| 13 | runs-on: ubuntu-latest |
| 14 | timeout-minutes: 10 |
| 15 | steps: |
| 16 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 17 | with: |
| 18 | persist-credentials: false |
| 19 | - uses: anchore/sbom-action@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3 |
| 20 | with: |
| 21 | path: . |
| 22 | format: spdx-json |
| 23 | artifact-name: sbom-${{ github.sha }}.spdx.json |