fix: Add a checkout step to make sure the python version can be determined from the pyproject.toml file #53
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Update python linting dependencies in-sync with pre-commit | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
update-python-and-pre-commit-deps: | |
uses: ./.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml | |
with: | |
commit-user-name: ${{ vars.TEK_OPENSOURCE_NAME }} | |
commit-user-email: ${{ vars.TEK_OPENSOURCE_EMAIL }} | |
dependency-dict: '{"dev": ["pyright"]}' | |
update-pre-commit: true | |
run-pre-commit: true | |
pre-commit-hook-skip-list: pyright,poetry-audit | |
export-dependency-groups: udd:actions/update_development_dependencies,cutv:actions/create_unique_testpypi_version,fci:actions/find_unreleased_changelog_items,tests | |
permissions: | |
contents: write | |
secrets: | |
checkout-token: ${{ secrets.TEK_OPENSOURCE_TOKEN }} | |
gpg-signing-key-private: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PRIVATE }} | |
gpg-signing-key-passphrase: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PASSPHRASE }} |