Update Bot #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Bot | |
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: | | |
echo "\`\`\`" > uv_output.md | |
uv lock &>> 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: Update uv lockfile | |
title: Update uv lockfile | |
body-path: uv_output.md | |
branch: update-uv | |
base: main | |
labels: install | |
delete-branch: true | |
add-paths: uv.lock | |
assignees: math-fehr, georgebisbas, superlopuh |