generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
44 lines (40 loc) · 1.1 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
36
37
38
39
40
41
42
43
44
name: 'Annotate Commit with Pylint Results'
description: 'Adds file annotations to a commit based on Pylint results.'
author: 'Piotr Karpala'
# Define your inputs here.
inputs:
lint-file:
description: 'Linting JSON results file from Pylint.'
required: true
default: 'pylint.json'
pylint-result-code:
description: 'Pylint result code to consider as an error.'
required: true
default: 0
head-sha:
description: 'SHA of the commit to annotate.'
required: true
repo-owner:
description: 'The repo owner.'
default: '${{ github.repository_owner }}'
required: true
repo-name:
description: 'The repo name.'
default: '${{ github.event.repository.name }}'
required: true
repo-token:
description:
'A GitHub token for API access. Defaults to {{ github.token }}.'
default: '${{ github.token }}'
required: true
# Define your outputs here.
outputs:
result:
description:
'The result of the action. Success, Failure or information message.'
branding:
icon: 'git-pull-request'
color: 'purple'
runs:
using: node20
main: dist/index.js