Manual SBOM trigger (#3401)

* Add the ability to manually trigger the SBOM generation

* Bump workflow to use latest with CyloneDX v1.6 SBOM format
This commit is contained in:
Lorenzo
2025-04-24 11:36:18 -06:00
committed by GitHub
parent 6aa2207446
commit 498848fdea

View File

@@ -1,5 +1,11 @@
name: Snyk - Software Bill of Materials (SBOM) name: Snyk - Software Bill of Materials (SBOM)
on: on:
workflow_dispatch:
inputs:
tag_name:
description: 'Release tag name'
required: true
type: string
release: release:
types: [published] types: [published]
@@ -7,7 +13,8 @@ jobs:
sbom: sbom:
permissions: permissions:
contents: write contents: write
uses: mattermost/actions-workflows/.github/workflows/snyk-sbom.yml@97a61c0e3ee52b92b16054e5c60faaa870693476 uses: mattermost/actions-workflows/.github/workflows/snyk-sbom.yml@b5dc0b6b422e5ab1bd54f881d6f2e92b30302cf2
secrets: inherit secrets: inherit
with: with:
is_monorepo: false is_monorepo: false
tag_name: ${{ github.event.inputs.tag_name || github.event.release.tag_name }}