Skip to content

Commit 63fba02

Browse files
DennisOSRMCopilot
andauthored
fix: configure git identity in release action before tagging (#7471)
The 'Create git tag' step was failing with 'Committer identity unknown' because git identity was only configured in the conditional 'Commit version update' step. When that step was skipped (no version changes), git identity was never set. Now git config is called directly in the 'Create git tag' step to ensure git identity is always available for annotated tag creation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 82b8335 commit 63fba02

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release-monthly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ jobs:
123123
124124
- name: Create git tag
125125
run: |
126+
git config user.name "github-actions[bot]"
127+
git config user.email "github-actions[bot]@users.noreply.github.com"
126128
git tag -a "${{ steps.version.outputs.tag }}" -m "Release ${{ steps.version.outputs.version }}"
127129
128130
- name: Push changes and tag

0 commit comments

Comments
 (0)