From 88fae683b2a679f81e2d3eb5678bb430655b1d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20Yaz=C4=B1c=C4=B1?= Date: Wed, 6 Sep 2023 11:48:15 +0200 Subject: [PATCH] Set Git identity for CI commits --- .github/workflows/deploy-release-reusable.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-release-reusable.yml b/.github/workflows/deploy-release-reusable.yml index 53d77f21..86e27727 100644 --- a/.github/workflows/deploy-release-reusable.yml +++ b/.github/workflows/deploy-release-reusable.yml @@ -104,7 +104,10 @@ jobs: -DnewVersion="$PROJECT_VERSION" \ -DgenerateBackupPoms=false \ versions:set-property + git config user.name github-actions + git config user.email github-actions@github.com git commit pom.xml -m "Set version to \`$PROJECT_VERSION\`" + git push origin fi - name: Release changelog @@ -115,7 +118,10 @@ jobs: -P changelog-release git add src/changelog if [ -n "$(git status --porcelain)" ]; then + git config user.name github-actions + git config user.email github-actions@github.com git commit src/changelog -m "Release changelog for version \`$PROJECT_VERSION\`" + git push origin fi - name: Upload to Nexus