forked from pre-commit/action
-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaction.yml
30 lines (29 loc) · 802 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
name: cloudposse-pre-commit
description: run pre-commit and optionally commit back to the pull request
author: 'Cloud Posse <[email protected]>'
branding:
icon: 'activity'
color: 'blue'
inputs:
extra_args:
description: options to pass to pre-commit run
required: false
default: '--all-files'
token:
description: github token to clone / push with
required: false
git_user_name:
description: github user name to push with
required: false
default: 'pre-commit'
git_user_email:
description: github user email to push with
required: false
default: '[email protected]'
git_commit_message:
description: github commit message to push with
required: false
default: 'pre-commit fixes'
runs:
using: 'node20'
main: 'dist/index.js'