Skip to content

Fix user's sign email check #35045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2025
Merged

Conversation

wxiaoguang
Copy link
Contributor

Fix #21692

In parseCommitWithGPGSignature and parseCommitWithSSHSignature, we should not check the committer's emails again, because the committer is prepared by caller, the caller has already make sure the email is activated or is a no-reply email.

@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
@wxiaoguang wxiaoguang force-pushed the fix-sign-email-check branch 2 times, most recently from d8028b3 to 0e90ddf Compare July 11, 2025 03:00
@wxiaoguang wxiaoguang force-pushed the fix-sign-email-check branch from 0e90ddf to ca1b4e8 Compare July 11, 2025 03:02
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Jul 11, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jul 12, 2025
@lunny lunny added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jul 12, 2025
@wxiaoguang wxiaoguang merged commit 6599efb into go-gitea:main Jul 12, 2025
26 checks passed
@GiteaBot GiteaBot added this to the 1.25.0 milestone Jul 12, 2025
@wxiaoguang wxiaoguang deleted the fix-sign-email-check branch July 12, 2025 07:13
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label Jul 12, 2025
@lunny lunny added the backport/v1.24 This PR should be backported to Gitea 1.24 label Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/v1.24 This PR should be backported to Gitea 1.24 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include NOREPLY address when parsing SSH signature
4 participants