Skip to content

Commit 60867d1

Browse files
authored
pair repo only if ci pairing enable (codeready-toolchain#1172)
1 parent 2ec1fc4 commit 60867d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/ci/manage-operator.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ get_repo() {
1616
# clone
1717
git clone https://github.com/codeready-toolchain/${REPOSITORY_NAME}.git ${REPOSITORY_PATH}
1818

19-
pair_repo_if_needed
19+
if [[ "${CI_DISABLE_PAIRING}" != "true" ]]; then
20+
pair_repo_if_needed
21+
fi
2022
else
2123
REPOSITORY_PATH=${PROVIDED_REPOSITORY_PATH}
2224
fi

0 commit comments

Comments
 (0)