Update Sync.yml

Update Sync.yml
This commit is contained in:
Vindicus999
2025-10-26 14:52:04 -04:00
parent 73e86ed096
commit aa4ccfd0b0
+17 -8
View File
@@ -1,4 +1,4 @@
name: Sync Upstream name: Sync Fork with Upstream
env: env:
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git" UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
@@ -7,7 +7,7 @@ env:
on: on:
schedule: schedule:
- cron: '0 5/6 * * *' - cron: '0 0 * * *'
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@@ -24,13 +24,22 @@ jobs:
- name: Checkout stuff - name: Checkout stuff
uses: actions/checkout@master uses: actions/checkout@master
- name: Merge master -> apk-build - name: Checkout Forked Repository
uses: devmasx/merge-branch@master uses: actions/checkout@v3
with: with:
type: now token: ${{ env.WORKFLOW_TOKEN }}
from_branch: master
target_branch: apk-build - name: Add Upstream Remote
github_token: ${{ env.WORKFLOW_TOKEN }} run: git remote add upstream ${{ env.UPSTREAM_URL }}
- name: Fetch Upstream Changes
run: git fetch upstream
- name: Rebase master -> apk-build
run: |
git checkout apk-build
git rebase upstream/master
git push origin apk-build
- name: Merge sneed -> apk-build - name: Merge sneed -> apk-build
uses: devmasx/merge-branch@master uses: devmasx/merge-branch@master