From b74c521b02f93d46adafd6aaca507c5f04b0d553 Mon Sep 17 00:00:00 2001 From: Thisara-Welmilla Date: Thu, 21 Sep 2023 15:25:35 +0530 Subject: [PATCH] Modify git action scripts. --- .github/scripts/pr-builder.sh | 3 ++- .github/workflows/pr-builder-test-JDK11.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/pr-builder.sh b/.github/scripts/pr-builder.sh index 4b74570a7c6..c92f9a491d8 100644 --- a/.github/scripts/pr-builder.sh +++ b/.github/scripts/pr-builder.sh @@ -28,7 +28,8 @@ echo "==========================================================" echo "Cloning product-is" echo "==========================================================" -git clone https://github.com/wso2/product-is +# git clone https://github.com/wso2/product-is +git clone -b enable-tenant-qualified-urls --single-branch https://github.com/wso2/product-is if [ "$REPO" = "product-is" ]; then diff --git a/.github/workflows/pr-builder-test-JDK11.yml b/.github/workflows/pr-builder-test-JDK11.yml index 4e7aa32a2c0..8cf752525a6 100644 --- a/.github/workflows/pr-builder-test-JDK11.yml +++ b/.github/workflows/pr-builder-test-JDK11.yml @@ -75,7 +75,7 @@ jobs: JAVA_8_HOME: ${{env.J8HOME}} JAVA_11_HOME: ${{env.J11HOME}} run: | - wget https://raw.githubusercontent.com/wso2/product-is/master/.github/scripts/pr-builder.sh + wget https://raw.githubusercontent.com/wso2/product-is/enable-tenant-qualified-urls/.github/scripts/pr-builder.sh bash pr-builder.sh - name: Archive PR diff file if: always()