Skip to content

Commit

Permalink
Add workflow to keep uv.lock up to date
Browse files Browse the repository at this point in the history
Should do the job for dependabot updates
  • Loading branch information
browniebroke committed Oct 7, 2024
1 parent 079e3e2 commit 01f6299
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dependabot-uv-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: uv

on:
pull_request:
paths:
- "pyproject.toml"

permissions:
contents: write
pull-requests: write

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
- uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- run: uv lock
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Regenerate uv.lock

0 comments on commit 01f6299

Please sign in to comment.