This repository has been archived by the owner on Dec 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
48 lines (47 loc) · 1.45 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
44
45
46
47
48
# SPDX-FileCopyrightText: 2022 Contributors to the License scan action project <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
name: 'OSPO License scan action'
description: 'A GitHub Action to scan for licenses in your code.'
inputs:
report-formats:
description: |
Desired output formats for the `ort report -f` command, provided in a comma-separated format.
For example 'SpdxDocument,WebApp'.
Documentation at https://github.com/oss-review-toolkit/ort/#user-content-reporter
required: false
default: 'SpdxDocument,WebApp'
run-download:
description: |
Boolean value which determines whether the ORT Download step should run
required: false
default: false
run-evaluate:
description: |
Boolean value which determines whether the ORT Evaluate step should run
required: false
default: true
run-report:
description: |
Boolean value which determines whether the ORT Report step should run
required: false
default: true
run-scan:
description: |
Boolean value which determines whether the ORT Scan step should run
required: false
default: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '--report-formats'
- ${{ inputs.report-formats }}
- '--run-download'
- ${{ inputs.run-download }}
- '--run-evaluate'
- ${{ inputs.run-evaluate }}
- '--run-report'
- ${{ inputs.run-report }}
- '--run-scan'
- ${{ inputs.run-scan }}