forked from ataylorme/eslint-annotate-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
32 lines (32 loc) · 1.09 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
name: "ESLint Annotate from Report JSON"
description: "Annotates pull request diffs with warnings and errors from an ESLint report JSON file."
inputs:
repo-token:
description: "Token used to interact with the Github API."
required: true
report-json:
description: "ESLint report file in JSON format."
default: "eslint_report.json"
required: false
only-pr-files:
description: "Only annotate files changed when run on pull requests"
default: 'true'
required: false
fail-on-warning:
description: "Fail the GitHub Action when ESLint warnings are detected. Set to 'true' to enable."
default: 'false'
required: false
fail-on-error:
description: "Whether to fail the Github action when ESLint errors are detected. If set to false, the check that is created will still fail on ESLint errors."
default: 'true'
required: false
check-name:
description: "The name of the GitHub status check created."
default: 'ESLint Report Analysis'
required: false
runs:
using: "node16"
main: "dist/index.js"
branding:
icon: "check-circle"
color: "yellow"