forked from CycloneDX/gh-gomod-generate-sbom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
20 lines (20 loc) · 835 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: CycloneDX GoMod Generate SBOM
author: Niklas Düster
description: Github action to generate a CycloneDX SBOM for Go modules
inputs:
args:
description: |
Arguments to pass to cyclonedx-gomod.
Please refer to the cyclonedx-gomod documentation for usage instructions.
When not set, *cyclonedx-gomod* will only be downloaded, but not executed.
It'll be made available via $PATH and can be used by later steps of the workflow.
required: false
version:
description: |
The version of cyclonedx-gomod to use.
Can be a version range, in which case the latest version matching the range is chosen.
Minimum allowed version is v1.0.0. Must either be an existing semantic version (e.g. v1.0.0, 1.0.0) or a version range.
required: true
runs:
using: 'node12'
main: 'index.js'