-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
47 lines (47 loc) · 1.28 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
name: "Trusty Dependency Risk Action"
description: "Check the quality and safety of your dependencies on every pull request"
author: "Stacklok"
branding:
icon: "alert-triangle"
color: "yellow"
inputs:
GITHUB_TOKEN:
description: "GitHub token"
required: true
global_threshold:
description: "Raise global score below this score as an issue"
required: false
default: 5
repo_activity_threshold:
description: "Raise repo activity below this score as an issue"
required: false
default: 0
author_activity_threshold:
description: "Raise author activity below this score as an issue"
required: false
default: 0
provenance_threshold:
description: "Raise provenance below this score as an issue"
required: false
default: 0
typosquatting_threshold:
description: "Raise typosquatting below this score as an issue"
required: false
default: 0
fail_on_malicious:
description: "Fail if package is malicious"
required: false
default: true
fail_on_deprecated:
description: "Fail if package is deprecated"
required: false
default: true
fail_on_archived:
description: "Fail if repo is archived"
required: false
default: true
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.recursive }}