Skip to content

Fix ghost user in feeds when pushing in an actions, it should be gitea-actions (#34703) #34756

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 1 commit into from
Jun 18, 2025

Conversation

GiteaBot
Copy link
Collaborator

Backport #34703 by @lunny

Fix #34688

This PR will store the publisher_id of release(tag) table as pusher's id. It could be a real userID or a system user id. If the user is deleted, ghost will be replaced.

This PR will also correct the wrong user Ghost in the feeds and wrong committer on tag list page if pushing a tag from an actions. Now the behavior is the same as Github. Some codes are deleted because it tries to get commit author as pusher which is not right.

@GiteaBot GiteaBot added modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files type/bug labels Jun 18, 2025
@GiteaBot GiteaBot added this to the 1.24.1 milestone Jun 18, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 18, 2025
@GiteaBot GiteaBot requested review from delvh and wxiaoguang June 18, 2025 00:37
@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 Jun 18, 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 Jun 18, 2025
@lunny lunny enabled auto-merge (squash) June 18, 2025 00:58
@lunny lunny merged commit 4c2441b into go-gitea:release/v1.24 Jun 18, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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 modifies/templates This PR modifies the template files type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants