We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca16325 commit 7e8d55aCopy full SHA for 7e8d55a
1 file changed
.github/workflows/main.yml
@@ -7,15 +7,14 @@ on:
7
8
permissions:
9
contents: write
10
-
11
jobs:
12
sync:
13
runs-on: ubuntu-latest
14
steps:
15
- name: Checkout Fork
16
uses: actions/checkout@v4
17
with:
18
- token: ${{ secrets.GITHUB_TOKEN }}
+ token: ${{ secrets.PAT_TOKEN }}
19
fetch-depth: 0
20
21
- name: Sync with Upstream
@@ -26,9 +25,7 @@ jobs:
26
25
git remote add upstream https://github.com/Fanju6/NetProxy-Magisk.git
27
git fetch upstream
28
29
- # 强制使用上游的 main 分支
30
git checkout main
31
git reset --hard upstream/main
32
33
- # 强制推送到 Fork
34
git push origin main --force
0 commit comments