Catch keyboard interruption in skill_executor.py #8
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/[email protected] | |
- name: Setup python | |
uses: actions/[email protected] | |
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/[email protected] |