From 5ad01e529274b99c15df29440f08e689083cb7e6 Mon Sep 17 00:00:00 2001 From: kamal-devtron <128121299+kamal-devtron@users.noreply.github.com> Date: Tue, 22 Aug 2023 12:28:22 +0530 Subject: [PATCH] Update reposync.yaml --- .github/workflows/reposync.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/reposync.yaml b/.github/workflows/reposync.yaml index c1ce613..f699c10 100644 --- a/.github/workflows/reposync.yaml +++ b/.github/workflows/reposync.yaml @@ -18,6 +18,7 @@ jobs: set -ex export GIT_USERNAME="${GIT_CONFIG_NAME}" export GIT_PASSWORD="${GH_TOKEN}" + export ENTERPRISE_REPO="https://github.com/kamal-devtron/testing.git" git clone https://${GIT_USERNAME}:${GIT_PASSWORD}@github.com/kamal-devtron/action-testing.git git clone $ENTERPRISE_REPO @@ -28,10 +29,10 @@ jobs: echo $GIT_COMMIT git status && git checkout main && git pull - + cd ../testing && git status && git checkout main && git pull - git config --global user.email kamal@devtron.ai - git config --global user.name kamal-devtron + git config --global user.email $GIT_CONFIG_EMAIL + git config --global user.name $GIT_USERNAME if git rev-parse --verify origin/release-candidate >/dev/null 2>&1; then echo "Branch exsist" else