Skip to content

Commit 1f598cc

Browse files
committed
ci(release-wkflow): fix unknown git user before tag creation
1 parent 9354cd6 commit 1f598cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171
if: steps.release.outputs.released == 'true' && steps.release.outputs.is_prerelease == 'false'
7272
env:
7373
FULL_VERSION_TAG: ${{ steps.release.outputs.tag }}
74+
GIT_COMMITTER_NAME: github-actions
75+
GIT_COMMITTER_EMAIL: [email protected]
7476
run: |
7577
MINOR_VERSION_TAG="$(printf '%s\n' "$FULL_VERSION_TAG" | cut -d. -f1,2)"
7678
git tag --force --annotate "$MINOR_VERSION_TAG" "${FULL_VERSION_TAG}^{}" -m "$MINOR_VERSION_TAG"
@@ -80,6 +82,8 @@ jobs:
8082
if: steps.release.outputs.released == 'true' && steps.release.outputs.is_prerelease == 'false'
8183
env:
8284
FULL_VERSION_TAG: ${{ steps.release.outputs.tag }}
85+
GIT_COMMITTER_NAME: github-actions
86+
GIT_COMMITTER_EMAIL: [email protected]
8387
run: |
8488
MAJOR_VERSION_TAG="$(printf '%s\n' "$FULL_VERSION_TAG" | cut -d. -f1)"
8589
git tag --force --annotate "$MAJOR_VERSION_TAG" "${FULL_VERSION_TAG}^{}" -m "$MAJOR_VERSION_TAG"

0 commit comments

Comments
 (0)