Skip to content

Commit 570a8ae

Browse files
committed
fix: set git identity in release workflow for annotated tags
1 parent 29847f0 commit 570a8ae

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@ jobs:
1313
if: startsWith(github.event.release.tag_name, 'v')
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919
- name: Update major version tag
2020
env:
2121
RELEASE_TAG: ${{ github.event.release.tag_name }}
2222
run: |
23+
git config user.name "github-actions[bot]"
24+
git config user.email "github-actions[bot]@users.noreply.github.com"
2325
# Extract major version (e.g., v1.9.0 -> v1)
2426
MAJOR_TAG="${RELEASE_TAG%%.*}"
2527
echo "Moving ${MAJOR_TAG} tag to ${RELEASE_TAG}"

0 commit comments

Comments
 (0)