From f94349bd8833623f064c291b8e8705a629c5c932 Mon Sep 17 00:00:00 2001 From: sahibzadafahad-whizpool Date: Mon, 11 Dec 2023 16:15:19 +0500 Subject: [PATCH] Create sync.yml --- .github/workflows/sync.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 0000000..51f2103 --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,20 @@ +name: Sync with Original Repo + +on: + schedule: + - cron: '*/5 * * * *' # Set the schedule as needed + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Sync with Upstream + run: | + git remote add upstream https://github.com/Sanster/lama-cleaner.git + git fetch upstream + git merge upstream/main + git push