generated from MeilCli/action-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
61 lines (61 loc) · 2.09 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
49
50
51
52
53
54
55
56
57
58
59
60
61
name: 'common lint reporter'
description: 'common lint reporter that can handle various lint report files'
author: 'MeilCli'
branding:
icon: alert-circle
color: orange
inputs:
github_token:
description: 'github app token, using to read and write repository'
required: true
default: ${{ github.token }}
github_server_url:
description: 'github server url, this option is for github enterprise user'
github_graphql_api_url:
description: 'github graphql api url, this option is for github enterprise user'
workspace_path:
description: 'workspace path, using to convert relative path from absolute path'
repository:
description: 'running repository, format: owner/repository'
pull_request:
description: 'running pull request number'
commit_sha:
description: 'running commit sha'
report_files:
description: 'report file glob pattern'
required: true
default: 'common_lint.json'
report_files_follow_symbolic_links:
description: 'report file glob pattern option'
report_name:
description: 'report name, if multiple report, should be unique name'
required: true
default: 'Lint report'
report_type:
description: 'report type, value is check_run or comment or inline_comment'
required: true
default: 'check_run'
report_to_same_check_run:
description: 'check_run only option, if true, report to same check run'
conclusion_failure_threshold:
description: 'threshold of conclution as failure'
required: true
default: '100'
conclusion_failure_weight:
description: 'weight of reported failure by lint for conclusion'
required: true
default: '100'
conclusion_warning_weight:
description: 'weight of reported warning by lint for conclusion'
required: true
default: '1'
conclusion_notice_weight:
description: 'weight of reported notice by lint for conclusion'
required: true
default: '0'
outdated_resolver:
description: 'inline_comment only option, option of how resolve when found outdated thread'
default: 'delete_or_force_resolve_thread'
runs:
using: 'node20'
main: 'dist/main.js'