From 4eca8662755f8cd7afb8dddba182abdf30d15b79 Mon Sep 17 00:00:00 2001 From: Thisara-Welmilla Date: Thu, 14 Dec 2023 13:55:46 +0530 Subject: [PATCH] Fix dependency-updater workflow. --- .github/workflows/dependency-updater-7.yml | 2 ++ .github/workflows/dependency-updater.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/dependency-updater-7.yml b/.github/workflows/dependency-updater-7.yml index b31f43f79ea..2d0fb437713 100644 --- a/.github/workflows/dependency-updater-7.yml +++ b/.github/workflows/dependency-updater-7.yml @@ -10,6 +10,7 @@ env: MAVEN_OPTS: -Xmx4g -Xms1g REPOSITORY: product-is GIT_USERNAME: jenkins-is-staging + GIT_EMAIL: jenkins-is-staging@wso2.com PRODUCT_REPOSITORY_FORKED: $GIT_USERNAME'/'${REPOSITORY} REMOTE_PRODUCT_REPOSITORY_PUBLIC: wso2/$REPOSITORY PRODUCT_REPOSITORY_PUBLIC: wso2/$REPOSITORY @@ -111,6 +112,7 @@ jobs: echo "" echo 'Commit Changes' echo "==========================================================" + git config --global user.email ${{ env.GIT_EMAIL }} git config --global user.name ${{ env.GIT_USERNAME }} git commit -a -m 'Bump dependencies from '${{ env.DEPENDENCY_UPGRADE_BRANCH_NAME }} git remote rm origin diff --git a/.github/workflows/dependency-updater.yml b/.github/workflows/dependency-updater.yml index 1980a84055e..2ca70dcffa9 100644 --- a/.github/workflows/dependency-updater.yml +++ b/.github/workflows/dependency-updater.yml @@ -10,6 +10,7 @@ env: MAVEN_OPTS: -Xmx4g -Xms1g REPOSITORY: product-is GIT_USERNAME: jenkins-is-staging + GIT_EMAIL: jenkins-is-staging@wso2.com PRODUCT_REPOSITORY_FORKED: $GIT_USERNAME'/'${REPOSITORY} REMOTE_PRODUCT_REPOSITORY_PUBLIC: wso2/$REPOSITORY PRODUCT_REPOSITORY_PUBLIC: wso2/$REPOSITORY @@ -113,6 +114,7 @@ jobs: echo "" echo 'Commit Changes' echo "==========================================================" + git config --global user.email ${{ env.GIT_EMAIL }} git config --global user.name ${{ env.GIT_USERNAME }} git commit -a -m 'Bump dependencies from '${{ env.DEPENDENCY_UPGRADE_BRANCH_NAME }} git remote rm origin