-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
38 lines (38 loc) · 914 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
30
31
32
33
34
35
36
37
38
name: 'PHP CS for Magento 2 GitHub Actions'
description: 'Validates code by PHP Code sniffer'
inputs:
fileExtensions:
description: 'File extensions to check'
required: false
default: 'php,phtml,xml'
onlyErrors:
description: 'Display only errors if such exists'
required: false
default: 'no'
sourceReport:
description: 'Display Source report if such exists'
required: false
default: 'yes'
errorSeverity:
description: 'Error severity'
required: false
default: '10'
warningSeverity:
description: 'Warning severity'
required: false
default: '10'
outputs:
time:
description: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.fileExtensions }}
- ${{ inputs.onlyErrors }}
- ${{ inputs.sourceReport }}
- ${{ inputs.errorSeverity }}
- ${{ inputs.warningSeverity }}
branding:
icon: 'code'
color: 'green'