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 }}