Slimmed down for work purposes. #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Pre-commit | |
on: | |
workflow_dispatch: # allows manual triggering | |
pull_request: | |
branches: | |
- main | |
- work | |
push: | |
branches: | |
- main | |
- work | |
jobs: | |
pre-commit: | |
name: Run pre-commit hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files |