Create syncMain.yml

This commit is contained in:
thororen 2024-07-20 19:21:08 -04:00 committed by GitHub
parent 8d01d9aecb
commit 6059cf7c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
.github/workflows/syncMain.yml vendored Normal file
View file

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