File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ if [ -z "${WORKSPACE_DIR}" ]; then
4141fi
4242
4343TARGET_BRANCH=" ${2:- master} "
44-
45- # Fetch origin/master so that we can diff when checking coding style.
46- git remote set-branches --add origin ${TARGET_BRANCH}
47- git fetch origin
48-
4944TARGET_BRANCH=origin/${TARGET_BRANCH}
5045
5146# The safe.directory config is so that git commands work. even though the repo folder mounted in
Original file line number Diff line number Diff line change 1414 - name : Clone the repo
1515 uses : actions/checkout@v4
1616 with :
17+ fetch-depth : 0
18+ fetch-tags : true
1719 submodules : recursive
1820 - name : Pull CI container image
1921 run : ./.ci/run-container-ci pull
Original file line number Diff line number Diff line change 1212 uses : actions/checkout@v4
1313 with :
1414 submodules : recursive
15+ fetch-depth : 0
1516
1617 - name : Pull container image
1718 run : ./.ci/run-container-ci pull
You can’t perform that action at this time.
0 commit comments