mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update SBOM GitHub Action (#97374)
* Update SBOM report workflow for improved artifact naming and trigger options * Change to use shared-workflow action
This commit is contained in:
parent
5f8ada85fb
commit
ae44451155
13
.github/workflows/sbom-report.yml
vendored
13
.github/workflows/sbom-report.yml
vendored
@ -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
Block a user