[Chip] Move *_params to chip (#436) #387
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
# Run Pre-commit Hooks | |
name: Run Pre-commit Hooks | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: ["main"] | |
jobs: | |
pre-commit: | |
name: Run Pre-commit Hooks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history so 'origin/main' is available | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Run Pre-commit and Fix Issues | |
uses: pre-commit/action@v3.0.1 | |
with: | |
extra_args: "--from-ref origin/main --to-ref HEAD" |