diff --git a/.github/workflows/update-python-and-pre-commit-dependencies.yml b/.github/workflows/update-python-and-pre-commit-dependencies.yml index 87e1225b..1073a7c6 100644 --- a/.github/workflows/update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/update-python-and-pre-commit-dependencies.yml @@ -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.'