From fa5048efe1db84789e6589948f0df54d90fca33c Mon Sep 17 00:00:00 2001 From: Don Petry <36422719+don-petry@users.noreply.github.com> Date: Fri, 22 May 2026 21:09:27 -0500 Subject: [PATCH 1/4] fix(dev-lead): set git identity before commit in commit_and_push actions/checkout only sets local git config for the repo it checks out (.github-private). When the script operates on a cloned target repo in a separate workspace, user.name and user.email are unset, causing git commit to fail on all non-.github-private repos. Fixes #368 Co-Authored-By: Claude Sonnet 4.6 (1M context) --- scripts/dev-lead-fix-reviews.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/dev-lead-fix-reviews.sh b/scripts/dev-lead-fix-reviews.sh index 670eb8a52..56212c654 100755 --- a/scripts/dev-lead-fix-reviews.sh +++ b/scripts/dev-lead-fix-reviews.sh @@ -218,6 +218,10 @@ commit_and_push() { else if $has_uncommitted; then git add -A + # Ensure git identity is set — actions/checkout only sets local config for the + # repo it checks out (.github-private), not for target repos cloned separately. + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config user.name "github-actions[bot]" # Explicit exit on failure: set -e is suspended when commit_and_push is called from # an if-statement condition, so git commit failures would be silently swallowed # otherwise. Using exit (not return) ensures CI fails visibly instead of posting a From f6f66fb347df9859dec4e2dd18d79d9aeae2248d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 23 May 2026 02:23:13 +0000 Subject: [PATCH 2/4] chore: apply manual instructions [skip ci-relay] --- scripts/dev-lead-fix-reviews.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/scripts/dev-lead-fix-reviews.sh b/scripts/dev-lead-fix-reviews.sh index 56212c654..e48932fe0 100755 --- a/scripts/dev-lead-fix-reviews.sh +++ b/scripts/dev-lead-fix-reviews.sh @@ -14,6 +14,18 @@ export PROMPTS_DIR="${PROMPTS_DIR:-prompts/dev-lead}" REVIEWS_MARKER_PREFIX="