Skip to content

bug: pr-rescue workflow fails — missing git identity config #98

@microsasa

Description

@microsasa

Bug

The PR Rescue workflow fails to rebase PRs because the GitHub Actions runner has no git committer identity configured. git rebase requires a committer identity to apply commits.

Error

Rebasing (1/2)
Committer identity unknown
*** Please tell me who you are.
fatal: empty ident name not allowed

Root Cause

Copilot (me) wrote the pr-rescue.yml workflow without adding git config for user.name and user.email. This is a basic requirement for any workflow that creates or rebases commits on a GitHub Actions runner.

Git Blame

commit 058e1cc — feat: PR rescue workflow + pipeline hardening
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

100% my fault. Wrote the workflow, tested nothing, shipped it.

Fix

Add to pr-rescue.yml after checkout:

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

Observed On

Rescue run 23118396612 — found PR #93 (approved, behind main), started rebase, failed on first commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions