Skip to content

fix(privacy-scan): skip a host-rewritten committer name - #6

Merged
MaxonT merged 1 commit into
mainfrom
scan-committer
Nov 9, 2026
Merged

MaxonT merged 1 commit into
mainfrom
scan-committer

Conversation

@MaxonT

@MaxonT MaxonT commented Nov 9, 2026

Copy link
Copy Markdown
Owner

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.

… 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
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T02:55:59.964721Z a998fb4 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@MaxonT
MaxonT merged commit a998fb4 into main Nov 9, 2026
6 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread tools/privacy_scan.py
Comment on lines +122 to +123
if not (ce == ae and cn != an):
people.append(f"{cn} <{ce}>")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

This branch was previously deployed

1 inactive deployment
github-pages — a998fb4d Deployed Nov 9, 2026 by MaxonT via deploy #13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant