Skip to content

Commit

Permalink
ci: Update dependency updater workflow to run pre-commit, but to skip…
Browse files Browse the repository at this point in the history
… the hooks that are unable to run and make no changes to the codebase.
  • Loading branch information
nfelt14 committed Mar 4, 2024
1 parent dcf8b71 commit 1dade16
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/update-python-and-pre-commit-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
passphrase: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Run updater script and pre-commit
run: |
python scripts/update_development_dependencies.py --no-install
python -m pre_commit run --all
- name: Run updater script
run: python scripts/update_development_dependencies.py --no-install
- name: Run pre-commit
env:
SKIP: pylint,pyright,pyright-verifytypes,pyroma
run: python -m pre_commit run --all
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'ci: Update python linters and pre-commit dependencies.'
Expand Down

0 comments on commit 1dade16

Please sign in to comment.