Repository navigation
fix(privacy-scan): skip a host-rewritten committer name - #6
Conversation
… merge; authors and messages still scanned GitHub's rebase merge of #5 set the committer name to the account's display name (same noreply address, different name), so the scan on main flagged it. That name is the host's, not part of what we push; an author name is still checked (test). Co-authored-by: Claude <[email protected]> Agent: claude-code
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a998fb4da2
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if not (ce == ae and cn != an): | ||
| people.append(f"{cn} <{ce}>") |
There was a problem hiding this comment.
Restrict the committer exemption to host-rewritten commits
When a local commit has different author and committer names but the same email, this condition also suppresses the committer name, even though no hosted rewrite occurred. For example, committing with a public author alias while Git's committer configuration still contains a guarded personal name now produces no history hit; the previous implementation detected it. Consequently, the privacy scan in .github/workflows/ci.yml can pass while publishing that private name. Preserve scanning for local commits rather than treating matching email addresses as proof of a host rewrite.
Useful? React with 👍 / 👎.
GitHub's rebase merge of #5 rewrote the committer name to the account display name (same noreply address). The scan on main flagged it. Authors and messages are still scanned; a test covers both cases.