UV Lock Upgrade #33
This file contains hidden or 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: UV Lock Upgrade | |
| on: | |
| schedule: | |
| # run at midnight every Sunday | |
| - cron: '0 0 * * 0' | |
| # allow manual triggering | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| upgrade-dependencies: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| # use minimum supported Python version | |
| python-version: "3.10" | |
| enable-cache: true | |
| cache-suffix: "uv-lock-upgrade" | |
| - name: Run uv lock --upgrade in all Python packages | |
| run: make lock-upgrade | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: "chore(deps): upgrade dependencies with `uv lock --upgrade`" | |
| title: "chore(deps): upgrade dependencies with `uv lock --upgrade`" | |
| body: | | |
| This PR updates the dependencies in all Python packages using `uv lock --upgrade`. | |
| This is an automated PR created by the UV Lock Upgrade workflow. | |
| branch: deps/uv-lock-upgrade | |
| delete-branch: true | |
| labels: | | |
| dependencies |