Workflow Stuff

This commit is contained in:
thororen1234 2024-07-17 16:04:47 -04:00
parent 81175b4f69
commit e1d38cc524
2 changed files with 26 additions and 4 deletions

View file

@ -12,6 +12,7 @@ on:
- pnpm-lock.yaml
env:
FORCE_COLOR: true
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
jobs:
DetermineRunner:
@ -28,8 +29,6 @@ jobs:
fallback-runner: "ubuntu-latest"
min-available-runners: 1
github-token: ${{ env.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.ETOKEN }}
Build:
name: Build Equicord
@ -67,5 +66,3 @@ jobs:
if: github.repository == 'Equicord/Equicord'
run: |
gh release upload latest --clobber dist/*
env:
GITHUB_TOKEN: ${{ secrets.ETOKEN }}

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

@ -0,0 +1,25 @@
name: Sync Vencord dev branch
env:
WORKFLOW_TOKEN: ${{ secrets.ETOKEN }}
UPSTREAM_URL: "https://github.com/Vendicated/Vencord.git"
UPSTREAM_BRANCH: "dev"
DOWNSTREAM_BRANCH: "main"
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: GitHub Sync to Upstream Repository
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 }}