File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 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@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@22a9089034f40e5a961c8808d113e2c98fb63676 # 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
You can’t perform that action at this time.
0 commit comments