From 6059cf7c25209aa37b18bb017c653c526f9de96c Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sat, 20 Jul 2024 19:21:08 -0400 Subject: [PATCH] Create syncMain.yml --- .github/workflows/syncMain.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/syncMain.yml diff --git a/.github/workflows/syncMain.yml b/.github/workflows/syncMain.yml new file mode 100644 index 00000000..db08ffb3 --- /dev/null +++ b/.github/workflows/syncMain.yml @@ -0,0 +1,25 @@ +name: Sync Vencord Dev + +env: + WORKFLOW_TOKEN: ${{ secrets.ETOKEN }} + UPSTREAM_URL: "https://github.com/Vendicated/Vencord.git" + UPSTREAM_BRANCH: "main" + DOWNSTREAM_BRANCH: "main" + +on: + schedule: + - cron: "0 * * * *" + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Sync Vencord Dev + id: sync + uses: verticalsync/sync-upstream-repo@master + with: + upstream_repo: ${{ env.UPSTREAM_URL }} + upstream_branch: ${{ env.UPSTREAM_BRANCH }} + downstream_branch: ${{ env.DOWNSTREAM_BRANCH }} + token: ${{ env.WORKFLOW_TOKEN }}