Skip to content

Commit 196576d

Browse files
ci: backport weekly lockfile update and dependabot from main
1 parent bac2789 commit 196576d

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
groups:
8+
github-actions:
9+
patterns:
10+
- "*"
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 Thursday at 8:00 UTC
7+
- cron: "0 8 * * 4"
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@v6
18+
19+
- uses: astral-sh/setup-uv@v7.2.1
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@c0f553fe549906ede9cf27b5156039d195d2ece0 # 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-v1x
38+
delete-branch: true
39+
add-paths: uv.lock
40+
labels: dependencies

0 commit comments

Comments
 (0)