Skip to content

pre-commit Github action #5

pre-commit Github action

pre-commit Github action #5

Workflow file for this run

name: gridkit-bot pre-commit
# Won't run on develop/main directly
on: [pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/[email protected]
- uses: pre-commit/[email protected]
#- uses: EndBug/[email protected]
# # Only need to try and commit if the action failed
# if: failure()
# with:
# fetch: false
# committer_name: GitHub Actions
# committer_email: [email protected]
# message: Apply pre-commmit fixes