generated from actions/container-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
35 lines (35 loc) · 990 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
32
33
34
35
name: 'Format Python Code'
description: 'Set up a Python file formatter, reformat the code, and commit the changes.'
author: 'MONAI Consortium'
inputs:
format_args:
description: 'Options given to the formatter.'
required: false
default: '.'
email:
description: 'email used for git commit'
required: false
default: '[email protected]'
username:
description: 'username used for git commit'
required: false
default: 'Formatter bot'
message:
description: 'message for the formatting commit'
required: false
default: 'Auto python code formatting'
token:
description: >
Used to fetch the code and write commits of formatting changes.
The token should have write permissions.
required: false
default: ${{ github.token }}
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.format_args }}
- ${{ inputs.email }}
- ${{ inputs.username }}
- ${{ inputs.message }}
- ${{ inputs.token }}