-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathaction.yml
32 lines (31 loc) · 827 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
name: 'Shell Linter'
description: 'Execute lint check on shell scripts using ShellCheck'
author: 'Azadeh Bagheri'
inputs:
path:
description: 'Execute lint check on a specific file or folder.'
required: false
default: '.'
severity:
description: 'Specify minimum severity of errors to consider.'
required: false
default: 'style'
exclude-paths:
description: 'Specify files or folders to exclude during scan.'
required: false
default: ''
exclude-issues:
description: 'Specify shellcheck issues to exclude during scan.'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.path }}
- ${{ inputs.severity }}
- ${{ inputs.exclude-paths}}
- ${{ inputs.exclude-issues }}
branding:
icon: 'check-circle'
color: 'green'