Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Sync Fork with Upstream
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Forked Repository
uses: actions/checkout@v4
with:
fetch-tags: true
token: ${{ secrets.SYNC_FORK_TOKEN }}

- name: Configure comitter
run: |
git config --global user.email "deployer@leukeleu.nl"
git config --global user.name "Leukeleu bot"

- name: Add Upstream Remote
run: git remote add upstream https://github.com/astral-sh/setup-uv.git

- name: Fetch Upstream Changes
run: git fetch upstream --prune --tags --verbose

- name: Push changes to origin
run: git push origin --tags --verbose
Loading