Bump cypress from 13.10.0 to 13.13.1 #412
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: | |
pull_request: | |
push: | |
jobs: | |
pre-commit: | |
name: pre-commit | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repo | |
uses: actions/[email protected] | |
- name: Read Python version | |
run: echo PYTHON_VERSION=$(cat runtime.txt | sed "s/python-//") >> $GITHUB_ENV | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
cache: "pip" | |
- name: Setup | |
run: pip install --requirement requirements.txt | |
- name: pre-commit | |
uses: pre-commit/[email protected] | |
- name: Commit changed files on failure | |
if: ${{ failure() }} | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "pre-commit action" | |
git add . | |
git commit --message "pre-commit changes" | |
git push |