Skip to content

Commit 65ee7c8

Browse files
committed
ci: add weekly lockfile update workflow
Adds a scheduled GitHub Action that runs every Monday at 8:00 UTC to update uv.lock with the latest dependency versions using 'uv lock --upgrade'. The workflow creates a PR with the changes, allowing CI to run before merging. This ensures we periodically test against the latest versions of our dependencies without the instability of testing 'highest' on every PR. Claude-Generated-By: Claude Code (cli/claude-opus-4-5=100%) Claude-Steers: 3 Claude-Permission-Prompts: 4 Claude-Escapes: 0
1 parent 72a8631 commit 65ee7c8

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Weekly Lockfile Update
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Every Monday at 8:00 UTC
7+
- cron: "0 8 * * 1"
8+
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
13+
jobs:
14+
update-lockfile:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v5
18+
19+
- uses: astral-sh/setup-uv@v7
20+
with:
21+
version: 0.9.5
22+
23+
- name: Update lockfile
24+
run: |
25+
echo '## Updated Dependencies' > pr_body.md
26+
echo '' >> pr_body.md
27+
echo '```' >> pr_body.md
28+
uv lock --upgrade 2>&1 | tee -a pr_body.md
29+
echo '```' >> pr_body.md
30+
31+
- name: Create pull request
32+
uses: peter-evans/create-pull-request@v7
33+
with:
34+
commit-message: "chore: update uv.lock with latest dependencies"
35+
title: "chore: weekly dependency update"
36+
body-path: pr_body.md
37+
branch: weekly-lockfile-update
38+
delete-branch: true
39+
add-paths: uv.lock
40+
labels: dependencies

0 commit comments

Comments
 (0)