Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8
pre-commit-ci/lite-action
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
pre-commit.ci lite is an add-on for GitHub Actions which safely autofixes PRs
install theGitHub Application on the relevant repositories
add theGitHub action to your workflow as the last step in your job:
-uses:pre-commit-ci/lite-action@v1.1.0if:always()
note: the step must have either the defaultname
or contain the textpre-commit-ci-lite
. the application uses this to find the right workflow.
msg
: (default[pre-commit.ci lite] apply automatic fixes
): commit messageused for auto fixing-uses:pre-commit-ci/lite-action@v1.1.0if:always()with:msg:apply code formatting
example usingpre-commit/action
technicallypre-commit.ci lite works for any code modification, though it wasbuilt withpre-commit
in mind. here is an example workflow:
on:pull_request:push:branches:[main, test-me-*]jobs:main:runs-on:ubuntu-lateststeps: -uses:actions/checkout@v3 -uses:actions/setup-python@v4with:python-version:3.x -uses:pre-commit/action@v3.0.1 -uses:pre-commit-ci/lite-action@v1.1.0if:always()
About
github action for pre-commit-ci lite
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.