Skip to content

validators: skip committer identity checks for GitHub web UI commits - #69

Merged
BKPepe merged 1 commit into
mainfrom
fix-github-web-commit-validation
Jul 26, 2026
Merged

validators: skip committer identity checks for GitHub web UI commits#69
BKPepe merged 1 commit into
mainfrom
fix-github-web-commit-validation

Conversation

@BKPepe

@BKPepe BKPepe commented Jul 23, 2026

Copy link
Copy Markdown
Member

When a commit is created via GitHub's web interface, the committer is automatically set to 'GitHub noreply@github.com' by GitHub itself. This is not under the user's control and was causing false positives in the committer name and noreply email validation checks.

Detect this pattern and skip committer-specific validation (name format and noreply email) while still enforcing all author identity checks. In Signed-off-by matching, only check against the author identity for web commits since the committer identity is always GitHub's.

@BKPepe
BKPepe force-pushed the fix-github-web-commit-validation branch from 867d80c to 47db109 Compare July 26, 2026 07:14
Commits made through GitHub's web interface (file editor, "Commit
suggestion", "Update branch") are committed as `GitHub
<noreply@github.com>` on the user's behalf. The committer name check
rejects that as an invalid full name, which the contributor has no way
to fix.

Recognize such commits and skip the committer name and email checks for
them, while every author identity check stays in place. A Signed-off-by
can then only match the author, so the error no longer offers signing
off as the committer.

The commit is recognized by the `web-flow` account GitHub resolves the
committer to, which a local git config cannot claim, with the literal
`GitHub <noreply@github.com>` identity as a fallback.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
@BKPepe
BKPepe force-pushed the fix-github-web-commit-validation branch from 47db109 to 534b7c6 Compare July 26, 2026 07:24
@BKPepe
BKPepe merged commit 534b7c6 into main Jul 26, 2026
5 checks passed
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