mirror of https://github.com/grafana/grafana
Update SBOM GitHub Action (#97374)
* Update SBOM report workflow for improved artifact naming and trigger options * Change to use shared-workflow actionpull/93568/head
parent
5f8ada85fb
commit
ae44451155
@ -1,20 +1,15 @@ |
||||
name: syft-sbom-ci |
||||
|
||||
on: |
||||
release: |
||||
types: [created] |
||||
|
||||
types: [ published ] |
||||
workflow_dispatch: |
||||
jobs: |
||||
syft-sbom: |
||||
|
||||
runs-on: ubuntu-latest |
||||
|
||||
steps: |
||||
- name: Checkout |
||||
uses: actions/checkout@v4 |
||||
|
||||
- name: Anchore SBOM Action |
||||
uses: anchore/sbom-action@v0.14.2 |
||||
uses: grafana/shared-workflows/actions@syft-sbom-v0.0.1 |
||||
with: |
||||
artifact-name: ${{ github.event.repository.name }}-spdx.json |
||||
|
||||
artifact-name: ${{ github.event.repository.name }}-spdx.json |
||||
|
Loading…
Reference in new issue