forked from wemake-services/wemake-python-styleguide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
31 lines (27 loc) · 811 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
# This is a definition file for a Github Action.
# See: https://help.github.com/en/articles/creating-a-docker-container-action
# We also define metadata here:
# See: https://help.github.com/en/articles/metadata-syntax-for-github-actions
name: 'wemake-python-styleguide'
description: 'Runs wemake-python-styleguide as a Github Action'
branding:
icon: 'check'
color: 'green'
inputs:
path:
description: 'Path or space-separated list of paths to lint'
required: false
default: '.'
reporter:
description: 'How would you like the results to be displayed?'
required: false
default: 'terminal'
outputs:
output:
description: 'The output of wemake-python-styleguide run'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.path }}
- ${{ inputs.reporter }}