-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
29 lines (28 loc) · 822 Bytes
/
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
name: 'Run & fix PHP Code Sniffer'
description: '🤝 Run PHPCS and fix errors using PHPCBF on wordpress and other php code bases'
author: 'shalior'
inputs:
github_token:
description: 'GITHUB_TOKEN'
default: '${{ github.token }}'
workdir:
description: 'Working directory relative to the root directory.'
default: '.'
phpcs_args:
description: 'Additional PHPCS flags'
default: '.'
phpcs_standard:
description: 'Coding standard for PHPCS to use when checking files'
default: 'WordPress'
use_default_configuration_file:
description: 'Whether to use default configuration file or not'
default: 'true'
phpcbf_args:
description: 'Additional PHPCBF flags'
default: '.'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'arrow-right'
color: 'green'