Equicord/.github/workflows/syncMain.yml

26 lines
702 B
YAML
Raw Normal View History

2024-07-30 23:00:40 -04:00
name: Sync Vencord Main
2024-07-20 19:21:08 -04:00
env:
2024-11-01 01:02:07 -04:00
WORKFLOW_TOKEN: ${{ secrets.ETOKEN }}
UPSTREAM_URL: "https://github.com/Vendicated/Vencord.git"
UPSTREAM_BRANCH: "main"
DOWNSTREAM_BRANCH: "main"
2024-07-20 19:21:08 -04:00
on:
2024-11-01 01:02:07 -04:00
schedule:
- cron: "0 * * * *"
workflow_dispatch:
2024-07-20 19:21:08 -04:00
jobs:
2024-11-01 01:02:07 -04:00
build:
runs-on: ubuntu-latest
steps:
- name: Sync Vencord Main
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 }}