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:
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
@@ -7,7 +7,7 @@ env:
on:
schedule:
- cron: '0 5/6 * * *'
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
@@ -24,13 +24,22 @@ jobs:
- name: Checkout stuff
uses: actions/checkout@master
- name: Merge master -> apk-build
uses: devmasx/merge-branch@master
- name: Checkout Forked Repository
uses: actions/checkout@v3
with:
type: now
from_branch: master
target_branch: apk-build
github_token: ${{ env.WORKFLOW_TOKEN }}
token: ${{ env.WORKFLOW_TOKEN }}
- name: Add Upstream Remote
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
uses: devmasx/merge-branch@master