Update
This commit is contained in:
@@ -44,7 +44,10 @@ jobs:
|
||||
# 添加上游仓库作为远程仓库,并获取上游仓库的main分支的最新更改
|
||||
- name: Fetch upstream changes
|
||||
run: |
|
||||
git remote add upstream NianBroken/ZFCheckScores
|
||||
REPO_NAME="NianBroken/ZFCheckScores"
|
||||
REPO_URL="https://github.com/$REPO_NAME.git"
|
||||
echo "Repo Url: $$REPO_URL"
|
||||
git remote add upstream "$REPO_URL"
|
||||
git fetch upstream main
|
||||
|
||||
# 对比当前分支的main.yml文件与上游分支的main.yml文件是否一致
|
||||
|
||||
Reference in New Issue
Block a user