-
Notifications
You must be signed in to change notification settings - Fork 8
/
action.yml
98 lines (79 loc) · 2.99 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Don't edit this file.
# This file is auto-generated by github.com/DeNA/unity-meta-check/tool/gh-action/action-yaml-gen
name: "Unity meta files check"
author: "DeNA Co., Ltd."
description: "Check missing/dangling meta files"
inputs:
"log_level":
description: "Log level for unity-meta-check toolchains (available: ERROR/WARN/INFO/DEBUG)"
required: false
default: "INFO"
"target_path":
description: "Target directory path to check. Relative path is treated as a path from $GITHUB_WORKSPACE (default: .)"
required: false
default: "."
"target_type":
description: "Target type for unity-meta-check (available: auto-detect/unity-project/unity-project-sub-dir/upm-package)"
required: false
default: "auto-detect"
"ignore_dangling":
description: "Ignore dangling .meta"
required: false
default: "false"
"ignore_case":
description: "Do not treat case of file paths"
required: false
default: "false"
"ignore_submodules_and_nested":
description: "Ignore git submodules and nesting repositories (note: this is RECOMMENDED but not enabled by default because it can cause to miss problems in submodules or nesting repositories)"
required: false
default: "false"
"ignored_file_path":
description: "Path to .meta-check-ignore (note: keep empty if .meta-check-ignore does not exist)"
required: false
default: ""
"enable_autofix":
description: "Enable autofix (note: it can repair very limited file types)"
required: false
default: "false"
"autofix_globs":
description: "Comma separated globs that match directories to where to allow autofix (example: use '*' to allow autofix all files, note: required if enable_autofix is true)"
required: false
default: "*"
"enable_junit":
description: "Enable JUnit-style reporting"
required: false
default: "false"
"junit_xml_path":
description: "File path for generated JUnit test reports (note: required if enable_junit is true)"
required: false
default: ""
"enable_pr_comment":
description: "Enable reporting via GitHub Pull Request Comments"
required: false
default: "false"
"pr_comment_lang":
description: "Language code for GitHub Pull Request Comments (available: en/ja, note: cannot specify both lang and pr_comment_tmpl_file)"
required: false
default: "en"
"pr_comment_tmpl_file":
description: "File path to custom template file for GitHub Pull Request Comments (note: cannot specify both lang and pr_comment_tmpl_file)"
required: false
default: ""
"pr_comment_pull_number":
description: "Pull request number to comment"
required: false
default: "0"
"pr_comment_send_success":
description: "Send a comment if no missing/dangling .meta found"
required: false
default: "false"
runs:
using: "docker"
image: "docker://ghcr.io/dena/unity-meta-check/unity-meta-check-gh-action:4.0.0-alpha3"
args:
- "-inputs-json"
- "${{ toJSON(inputs) }}"
branding:
icon: "check"
color: "blue"