-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
35 lines (35 loc) · 1.18 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
name: PSScriptAnalyzer checks
author: Brandon Olin
description: GitHub Action to run PSScriptAnalyzer static code analysis checks on Pull Requests
inputs:
rootPath:
description: The root directory to run PSScriptAnalyzer on. By default, this is the root of the repository.
required: false
settingsPath:
description: The path to a PSScriptAnalyser settings file to control rules to execute.
required: false
repoToken:
description: GitHub token the action will use to send comments back to PR with.
required: false
sendComment:
description: Send comment back to PR with PSScriptAnalyzer summary if any issues where found.
required: false
default: true
failOnErrors:
description: Enable/disable failing the action on PSScriptAnalyzer error items.
required: false
default: true
failOnWarnings:
description: Enable/disable failing the action on PSScriptAnalyzer warning items.
required: false
default: true
failOnInfos:
description: Enable/disable failing the action on PSScriptAnalyzer informational items.
required: false
default: false
runs:
using: docker
image: Dockerfile
branding:
icon: check-square
color: green