Skip to content

Commit

Permalink
add back bot
Browse files Browse the repository at this point in the history
  • Loading branch information
superlopuh committed Dec 19, 2024
1 parent d2f4c63 commit 29e4a79
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/remake-lockfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Remake UV Lockfile

on:
workflow_dispatch:
# Set the schedule, every week at 8:00am on Monday
schedule:
- cron: 0 8 * * 1

permissions:
contents: write
pull-requests: write

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: astral-sh/setup-uv@v3

- run: |
rm uv.lock
echo "\`\`\`" > uv_output.md
make venv &>> uv_output.md
echo "\`\`\`" >> uv_output.md
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "CI: Update uv lockfile"
title: "CI: Update uv lockfile"
body-path: uv_output.md
branch: ci/update-uv
base: main
labels: CI
delete-branch: true
add-paths: uv.lock
assignees: math-fehr, georgebisbas, superlopuh

0 comments on commit 29e4a79

Please sign in to comment.