Skip to content

auto-sync

auto-sync #18

Workflow file for this run

name: auto-sync
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
sync:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- name: Sync branches
if: ${{ github.repository }} != "mrwyattii/fake-DS"
run: |
git remote add upstream https://github.com/mrwyattii/fake-DS.git
git fetch upstream
git checkout develop
git rebase upstream/develop
git push origin develop