From 0f6f3d29de739f1b757dc8e5b80604e0a2fe59ca Mon Sep 17 00:00:00 2001 From: Md Armughanuddin Date: Fri, 11 Oct 2024 05:26:23 +0530 Subject: [PATCH] Use HTTP instead of SSH for cloning repo for JMH Benchmarks (#1056) Changed `git clone` to use HTTP since we only need read-only access and don't need to unnecessarily depend on SSH keys and authentication --- .github/workflows/run_main_benchmarks.sh | 2 +- .github/workflows/run_pr_benchmarks.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_main_benchmarks.sh b/.github/workflows/run_main_benchmarks.sh index fad59dcd0d..04e35651a1 100644 --- a/.github/workflows/run_main_benchmarks.sh +++ b/.github/workflows/run_main_benchmarks.sh @@ -3,7 +3,7 @@ cd "$BRANCH_NAME/" mkdir main cd main/ -git clone git@github.com:Uber/NullAway.git +git clone https://github.com/uber/NullAway.git cd NullAway/ ./gradlew jmh --no-daemon diff --git a/.github/workflows/run_pr_benchmarks.sh b/.github/workflows/run_pr_benchmarks.sh index 83c4a3b20d..cc116ad58f 100644 --- a/.github/workflows/run_pr_benchmarks.sh +++ b/.github/workflows/run_pr_benchmarks.sh @@ -3,7 +3,7 @@ cd "$BRANCH_NAME/" mkdir pr cd pr/ -git clone --branch "$BRANCH_NAME" --single-branch git@github.com:"$REPO_NAME".git NullAway +git clone --branch "$BRANCH_NAME" --single-branch https://github.com/"$REPO_NAME".git NullAway cd NullAway/ ./gradlew jmh --no-daemon