mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-06 05:00:18 +03:00
Add workflow to keep uv.lock up to date
Should do the job for dependabot updates
This commit is contained in:
parent
e61b602ec8
commit
c1b01e68c3
25
.github/workflows/.github/workflows/dependabot-uv-lock.yml
vendored
Normal file
25
.github/workflows/.github/workflows/dependabot-uv-lock.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user