Skip to content

Fork Sync

Fork Sync #6969

Workflow file for this run

name: Fork Sync
on:
schedule:
- cron: '*/30 * * * *' # every 30 minutes
workflow_dispatch: # on button click
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Merge upstream changes
run: |
git config --global user.name "$GITHUB_ACTOR"
git config --global user.email "[email protected]"
git remote add upstream https://github.com/theos/lib.git
git checkout master && git fetch upstream && git merge upstream/master
git push origin master