mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
Update fetch.yml
Signed-off-by: Ryananana <36809659+Ryananana@users.noreply.github.com>
This commit is contained in:
parent
d13da69b7a
commit
3f9dd9719f
7
.github/workflows/fetch.yml
vendored
7
.github/workflows/fetch.yml
vendored
@ -3,7 +3,7 @@
|
||||
name: Merge upstream branches
|
||||
on:
|
||||
schedule:
|
||||
- cron: '* * * * *'
|
||||
- cron: '5 * * * *'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
merge:
|
||||
@ -17,7 +17,8 @@ jobs:
|
||||
git clone https://${{ secrets.PERSONAL_TOKEN }}@github.com/Ryananana/sing-box.git tmp
|
||||
cd tmp
|
||||
git remote add upstream https://github.com/SagerNet/sing-box.git
|
||||
git reset .
|
||||
git fetch upstream
|
||||
git fetch --all
|
||||
git reset --hard origin/dev-next
|
||||
git pull
|
||||
git merge upstream/dev-next
|
||||
git push origin dev-next
|
||||
|
Loading…
x
Reference in New Issue
Block a user