Skip to content

Commit

Permalink
ci: Update python dependency updater workflow to run pre-commit to sa…
Browse files Browse the repository at this point in the history
…ve maintainers valuable time.
  • Loading branch information
nfelt14 committed Mar 4, 2024
1 parent 9aff4d8 commit 0d9838b
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ jobs:
python-version: x # any version
check-latest: true
- name: Install workflow dependencies
run: pip install poetry yamlfix toml-sort requests pre-commit-update
run: pip install poetry yamlfix toml-sort requests pre-commit-update pre-commit
- uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PRIVATE }}
passphrase: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Run updater script
run: python scripts/update_development_dependencies.py --no-install
- name: Run updater script and pre-commit
run: |
python scripts/update_development_dependencies.py --no-install
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 0d9838b

Please sign in to comment.