forked from 10up/wpcs-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (46 loc) · 1.17 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
name: 'PHPCS Check with Annotations'
description: 'PHPCS checker with automatic annotations and no additional dependencies.'
author: '10up'
inputs:
enable_warnings:
description: 'Enable checking for warnings (-w)'
required: false
default: ''
paths:
description: 'Path(s) to check (space separated)'
required: false
default: '.'
excludes:
description: 'Path(s) to excludes (space separated)'
required: false
default: ''
standard:
description: 'Standard to use (default to WordPress)'
required: false
default: 'WordPress'
standard_repo:
description: 'Public (git) repository URL of the coding standard'
required: false
default: ''
repo_branch:
description: 'Repository branch'
required: false
default: 'master'
phpcs_bin_path:
description: 'PHPCS bin path'
required: false
default: 'phpcs'
use_local_config:
description: 'Use local config if available'
required: false
default: 'false'
extra_args:
description: 'Passing extra arguments to the phpcs command'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'zap'
color: 'purple'