-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathaction.yaml
More file actions
40 lines (40 loc) · 1.17 KB
/
action.yaml
File metadata and controls
40 lines (40 loc) · 1.17 KB
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
name: prek-action
description: Run pre-commit hooks using prek
inputs:
extra-args:
description: Extra options to pass to `prek run`, appended after `--show-diff-on-failure --color=always`
required: false
default: '--all-files'
extra_args:
description: Options to pass to `prek run` (deprecated, use extra-args)
required: false
install-only:
description: Only install prek, do not run it
required: false
default: 'false'
prek-version:
description: Version or semver range of prek to install (for example `0.2.1`, `0.3.x`, `<=1.0.0`, or `latest`)
required: false
default: 'latest'
show-verbose-logs:
description: Whether to print the prek verbose log after `prek run`
required: false
default: 'true'
working-directory:
description: The working directory to run prek in
required: false
default: '.'
token:
description: Unused; retained for backward compatibility
required: false
default: ${{ github.token }}
outputs:
prek-version:
description: The version of prek that was installed
runs:
using: node24
main: dist/index.cjs
post: dist/post/index.cjs
branding:
icon: git-commit
color: orange