only do interruption on pick and nav, and not place by human #16
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: Run pre-commit | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- name: Setup python | |
uses: actions/setup-python@v5.0.0 | |
with: | |
python-version: '3.9.16' | |
- name: install dependencies | |
run: |- | |
pip install -U pip setuptools pre-commit | |
# Install the hooks now so that they'll be cached | |
pre-commit install-hooks | |
- name: Check Code Style using pre-commit | |
run: |- | |
SKIP=eslint pre-commit run --show-diff-on-failure --all-files | |
#NOTE: use the below to debug with ssh: simply move this "job" just before the crashing job to intercept the workflow | |
#- name: Debugging with tmate | |
# uses: mxschmitt/action-tmate@v3.18 |