-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump dependencies with
uv sync --upgrade
(#506)
- Loading branch information
1 parent
9350571
commit 61aec11
Showing
3 changed files
with
949 additions
and
723 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: UV Sync Weekly Upgrade | ||
|
||
on: | ||
schedule: | ||
# Runs every week on Monday at 7 AM UTC | ||
- cron: '0 7 * * 1' | ||
|
||
jobs: | ||
uv-sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install uv | ||
uses: astral-sh/setup-uv@v3 | ||
with: | ||
version: "0.4.12" | ||
enable-cache: true | ||
|
||
- name: Set up Python 3.12 | ||
run: uv python install 3.12 | ||
|
||
- name: Upgrade dependencies | ||
run: uv sync --python 3.12 --upgrade | ||
|
||
- name: Create Branch | ||
run: | | ||
git checkout -b automate-uv-sync | ||
echo "Switched to automate-uv-sync branch" | ||
- name: Commit and Push Changes | ||
run: | | ||
git config --local user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "GitHub Actions Bot" | ||
git add . | ||
git commit -m "Update dependencies via UV Sync" || echo "No changes to commit" | ||
git push origin automate-uv-sync || echo "No changes to push" | ||
continue-on-error: true | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: automate-uv-sync | ||
title: "Weekly UV Sync Dependency Upgrade" | ||
body: "This pull request updates dependencies via `uv sync --upgrade`." | ||
assignees: "alexmojaki" |
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
Oops, something went wrong.