-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
42 lines (39 loc) · 1.39 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
# SPDX-FileCopyrightText: 2023 Mercedes-Benz Tech Innovation GmbH
#
# SPDX-License-Identifier: MIT
name: "disclosure-cli"
description: "An action to send a sbom to the mercedes-benz foss disclosure portal"
author: "fabian.faulhaber@mercedes-benz.com on behalf of MBTI GmbH"
inputs:
host:
description: "Url of the hosted Disclosure Portal instance"
required: true
token:
description: "Api key / token for a specific project in the Disclosure Portal."
required: true
project_uuid:
description: "UUID of a specific project in the Disclosure Portal."
required: true
project_version:
description: "Version of a specific project in the Disclosure Portal."
required: true
command_type:
description: "Type of command e.g. project or version"
required: true
command:
description: "Command to the command_type e.g. sbomUpload. All available commands are available with the flag --help."
required: true
argument_1:
description: "Argument to the command e.g. version number for create or the path to ressource to upload a sbom."
required: false
argument_2:
description: "Argument to the command e.g. version number for create or the path to ressource to upload a sbom."
required: false
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.command_type }}
- ${{ inputs.command }}
- ${{ inputs.argument_1 }}
- ${{ inputs.argument_2 }}