We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 677ccf7 commit 807bd49Copy full SHA for 807bd49
.github/workflows/sync_with_upstream.yml
@@ -13,18 +13,15 @@ jobs:
13
uses: actions/checkout@v2
14
with:
15
fetch-depth: 0 # 获取完整的历史记录
16
- token: ${{ secrets.WORKFLOW }} # 使用 PAT 代替默认的 GITHUB_TOKEN
17
18
- name: Set Git Config
19
run: |
20
git config --local user.email "admin@leongo.com"
21
git config --local user.name "Leon"
22
-
23
- name: Sync with Upstream
24
25
git remote add upstream https://github.com/tindy2013/subconverter.git
26
git fetch upstream
27
git checkout master # 或其他你的默认分支名
28
git merge upstream/master # 或其他原仓库的默认分支名
29
- git push --force origin master # 推送更新到你的仓库,使用 PAT 进行认证
30
+ git push origin master # 推送更新到你的仓库
0 commit comments