Skip to content

Commit 765af3f

Browse files
committed
codeql: fix cloning tags
1 parent 9827e13 commit 765af3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/codeql-multiple-repo-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
(cd "$path" && git checkout "$ref")
141141
else
142142
echo " Detected branch/tag. Cloning with --branch."
143-
git clone --depth 1 --branch "$ref" "$url" "$path"
143+
git clone --depth 1 --branch v"$ref" "$url" "$path"
144144
fi
145145
146146
# Append the path to the list, separated by commas

0 commit comments

Comments
 (0)