Skip to content

Commit

Permalink
Run pre-commit on all files
Browse files Browse the repository at this point in the history
  • Loading branch information
ulgens committed Feb 20, 2025
1 parent 4961ab0 commit 25e9305
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/precommits_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,11 @@ jobs:
python-version: "3.9"
cache: "pip"

- name: Getting changed files list
id: files
uses: jitterbit/get-changed-files@master
- name: Checking changed files
shell: bash
run: |
echo "Changed files"
echo ${{ steps.files.outputs.all }}
echo "GitHub Client version"
echo $(gh --version)
- name: Pre-Commit Checks
run: |
python -m pip install --upgrade pip
pip install pre-commit
echo "Running pre-commit scans:"
# adding log display in case of pre-commit errors
pre-commit run -v --files ${{ steps.files.outputs.all }}
pre-commit run -v --all-files
shell: bash

0 comments on commit 25e9305

Please sign in to comment.