Skip to content

Commit

Permalink
Set CI commit email to machine account
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelshin committed Apr 28, 2023
1 parent c12c6f5 commit 60ab7fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-publish-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 60ab7fb

Please sign in to comment.