Skip to content

Conversation

@lunny
Copy link
Member

@lunny lunny commented Jul 11, 2025

Fix #21692

@lunny lunny added type/bug backport/v1.24 This PR should be backported to Gitea 1.24 labels Jul 11, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jul 11, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Jul 11, 2025
@lunny lunny removed the backport/v1.24 This PR should be backported to Gitea 1.24 label Jul 11, 2025
IsActivated: true,
Email: committerUser.GetPlaceholderEmail(),
})

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think the fix is good.

When parseCommitWithSSHSignature is called, we already know that committerUser belongs to git commit. The whole committerEmailAddresses logic should be removed.

@wxiaoguang
Copy link
Contributor

-> Fix user's sign email check #35045

@wxiaoguang wxiaoguang closed this Jul 11, 2025
@lunny lunny deleted the lunny/fix_noreply_email_address branch July 11, 2025 15:29
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Oct 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include NOREPLY address when parsing SSH signature

3 participants