From 60ab7fb4925e00b64bf5df4a60cc71984fe406f4 Mon Sep 17 00:00:00 2001 From: michaelshin Date: Fri, 28 Apr 2023 13:37:07 -0400 Subject: [PATCH] Set CI commit email to machine account --- .github/workflows/build-and-publish-new-version.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-publish-new-version.yml b/.github/workflows/build-and-publish-new-version.yml index ade2466..35a7025 100644 --- a/.github/workflows/build-and-publish-new-version.yml +++ b/.github/workflows/build-and-publish-new-version.yml @@ -13,6 +13,7 @@ jobs: runs-on: ubuntu-latest env: CI_COMMIT_AUTHOR: CentML + CI_COMMIT_EMAIL: centml-machine-user@users.noreply.github.com steps: - name: Checkout uses: actions/checkout@v3 @@ -38,7 +39,7 @@ jobs: - name: Commit updated version number and tag it run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" - git config --global user.email "username@users.noreply.github.com" + git config --global user.email "${{ env.CI_COMMIT_EMAIL }}" git commit -am "Release version ${{ github.event.inputs.tag }}" git push origin release/${{ github.event.inputs.tag }} git tag ${{ github.event.inputs.tag }}