From 2d24a06e901df365fec6201e2abc846ce36f9ef3 Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Wed, 19 Jun 2024 13:47:36 +0200 Subject: [PATCH] fix: use gh cli for cloning --- .github/create-cli-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/create-cli-pr.sh b/.github/create-cli-pr.sh index e519bd3f0..c13d00e58 100755 --- a/.github/create-cli-pr.sh +++ b/.github/create-cli-pr.sh @@ -18,7 +18,7 @@ set -ex CLI_DIR=$(mktemp -d) -git clone --depth 1 git@github.com:snyk/cli.git $CLI_DIR +gh repo clone snyk/cli $CLI_DIR pushd $CLI_DIR UPGRADE=$(go run scripts/upgrade-snyk-go-dependencies.go --name=snyk-ls) LS_VERSION=$(echo $UPGRADE | sed 's/.*Sha: \(.*\) URL.*/\1/')