-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
43 lines (43 loc) · 1.26 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: 'SPDX Merge'
author: 'Philips'
description: 'Merge one or more SBOMs into one parent SBOM'
inputs:
docpath:
description: 'The path to the folder that contains the files to be merged'
mandatory: true
outpath:
description: 'The path to the folder where the merged file will be saved'
mandatory: false
name:
description: "Name of product for which SBoM is created"
mandatory: true
mergetype:
description: "Type of merge: 0 for shallow merge, 1 for deep merge"
mandatory: false
default: "1"
author:
description: "SBoM Author name"
mandatory: false
email:
description: "SBoM Author email address"
mandatory: false
docnamespace:
description: "Document namespace; URL where document is stored or organzation URL"
default: "https://spdx.organization.name"
filetype:
description: "Resulting merge file format: J for JSON, T for SPDX tag value format"
default: "J"
runs:
using: 'docker'
image: 'Dockerfile'
env:
DOCPATH: ${{ inputs.docpath }}
NAME: ${{ inputs.name }}
MERGETYPE: ${{ inputs.mergetype }}
AUTHOR: ${{ inputs.author }}
EMAIL: ${{ inputs.email }}
DOCNAMESPACE: ${{ inputs.docnamespace }}
FILETYPE: ${{ inputs.filetype }}
branding:
icon: 'book'
color: 'blue'