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
41
41
fi
42
42
43
43
TARGET_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
-
49
44
TARGET_BRANCH=origin/${TARGET_BRANCH}
50
45
51
46
# 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 14
14
- name : Clone the repo
15
15
uses : actions/checkout@v4
16
16
with :
17
+ fetch-depth : 0
18
+ fetch-tags : true
17
19
submodules : recursive
18
20
- name : Pull CI container image
19
21
run : ./.ci/run-container-ci pull
Original file line number Diff line number Diff line change 12
12
uses : actions/checkout@v4
13
13
with :
14
14
submodules : recursive
15
+ fetch-depth : 0
15
16
16
17
- name : Pull container image
17
18
run : ./.ci/run-container-ci pull
You can’t perform that action at this time.
0 commit comments