Skip to content

Commit

Permalink
ci: configure git user and email (#5284)
Browse files Browse the repository at this point in the history
Set Git user and email in the CD workflow to correctly push new tags.

Fix #5283
  • Loading branch information
ferrarimarco committed Feb 15, 2024
1 parent e85bf75 commit 5451412
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ jobs:
- name: Tag major, minor, and latest versions
if: steps.release.outputs.release_created
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git tag --annotate --force ${{ env.SEMVER_MAJOR_VERSION }} -m "Release ${{ env.SEMVER_MAJOR_VERSION }}"
git tag --annotate --force latest -m "Release latest (${{ env.RELEASE_VERSION }})"
Expand Down

0 comments on commit 5451412

Please sign in to comment.