Skip to content

Commit

Permalink
git user.email now uses github-actions userid
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Feb 26, 2024
1 parent f3bc3c5 commit a588db9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ jobs:
- uses: actions/checkout@v4

- name: Push Tag
# NOTE: Regarding the config user.name/user.email, see https://github.com/actions/checkout/pull/1184
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git tag ${{ needs.generate-tag.outputs.name }} --force
git push --tags --force
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,10 @@ jobs:
ref: ${{ github.head_ref }}

- name: Push
# NOTE: Regarding the config user.name/user.email, see https://github.com/actions/checkout/pull/1184
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git tag ${{ needs.prerelease-deploy-version.outputs.version }} --force
git push --tags --force
Expand Down

0 comments on commit a588db9

Please sign in to comment.