forked from l-lin/spectral-comment-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 829 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
name: 'Spectral comment'
description: 'Comments pull requests with Spectral linter outputs'
inputs:
github-token:
required: true
description: 'Github token'
file-glob:
required: true
description: The file path to lint with Spectral
default: '*.oas.{json,yml,yaml}'
spectral-root-ruleset:
required: true
description: Ruleset file to load in Spectral
default: 'spectral:oas'
spectral-path-ruleset:
required: true
description: Ruleset file to load in Spectral
default: 'spectral:oas'
spectral-schema-ruleset:
required: true
description: Ruleset file to load in Spectral
default: 'spectral:oas'
github-url:
description: 'Github URL'
default: 'https://github.com'
runs:
using: 'node12'
main: 'src/index.js'
branding:
icon: check-square
color: purple