11
0
Fork 0
mirror of https://github.com/pre-commit/action.git synced 2026-04-07 14:56:54 +00:00

Support extra_args keyword in pre-commit GitHub action

This commit is contained in:
Deepyaman Datta 2020-03-17 18:30:51 -05:00 committed by Anthony Sottile
parent 56842c8f20
commit 30b00a6cd9
3 changed files with 28 additions and 7 deletions

View file

@ -1,6 +1,10 @@
name: pre-commit
description: run pre-commit and optionally commit back to the pull request
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