Skip to content

Update logic

Update logic #5

Workflow file for this run

---
name: pre-commit
# Controls when the workflow will run
on:
pull_request:
paths:
- '.github/workflows/pre-commit.yml'
- '.pre-commit-config.yaml'
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 1
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
- name: Lint the repository with pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
# watch out for <https://github.com/pre-commit/action/issues/169>
with:
extra_args: >
--verbose
--show-diff-on-failure
--color=always
--all-files