From 6253540187b47d7555f5557476b2748c2367d296 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 14 Jun 2026 02:49:27 +0000 Subject: [PATCH] Fix release.yml tag job: set git identity for annotated tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The manual workflow_dispatch release path failed at the 'resolve release tag' step with 'fatal: empty ident name … exit code 128'. The job checks out with persist-credentials: false and sets no git identity, but cut_release.sh cuts an annotated tag (git tag -a), which requires a committer identity. Set the github-actions[bot] identity before calling the script, matching what the publish job already does. --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce16efc5..20a54328 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,6 +78,11 @@ jobs: # Real manual release: resolve + validate + create the tag locally via # the same script maintainers run, then push it with an explicit # tokened remote (persist-credentials is off above). + # cut_release.sh makes an annotated tag (git tag -a), which needs a + # committer identity; the runner has none, so set one (matching the + # publish job) or the tag step fails with "empty ident name". + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" extra=() [ -n "$INPUT_VERSION" ] && extra+=("$INPUT_VERSION") ./scripts/cut_release.sh --yes --no-push "${extra[@]}"