Skip to content

Commit de510be

Browse files
committed
fix(ci): configure git identity before annotated Go SDK tag push
Annotated tags (git tag -a) embed committer info, which requires user.email and user.name to be set. GitHub Actions runners have no default identity, so the step failed with 'empty ident name not allowed'. Lightweight tags don't hit this, but we switched to annotated tags in e25061d for proper Go module metadata. Use the standard github-actions[bot] identity so the tag is attributable to the workflow.
1 parent ea68b91 commit de510be

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/pulumi-release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ jobs:
184184
- name: Checkout
185185
uses: actions/checkout@v4
186186

187+
- name: Configure git identity
188+
# Annotated tags embed committer info. Use the standard
189+
# github-actions[bot] identity so the tag is attributable to the
190+
# workflow that created it.
191+
run: |
192+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
193+
git config user.name "github-actions[bot]"
194+
187195
- name: Push Go SDK tag
188196
run: |
189197
# Go SDK is versioned independently from the provider (major v0 for

0 commit comments

Comments
 (0)