forked from CycloneDX/gh-gomod-generate-sbom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
24 lines (24 loc) · 997 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: CycloneDX GoMod Generate SBOM (Zenithar Fork)
author: Niklas Düster
description: Github action to generate a CycloneDX SBOM for Go modules with GH Token support
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
github-token:
description: |
GitHub access token used to get information from the GitHub API.
required: true
runs:
using: 'node16'
main: 'index.js'