Skip to content

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

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lunny
Copy link
Member

@lunny lunny commented Jun 12, 2025

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.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jun 12, 2025
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Jun 12, 2025
@github-actions github-actions bot added the modifies/templates This PR modifies the template files label Jun 12, 2025
@lunny lunny added type/bug backport/v1.24 This PR should be backported to Gitea 1.24 labels Jun 12, 2025
@lunny lunny marked this pull request as ready for review June 12, 2025 18:51
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/need 2 This PR needs two approvals by maintainers to be considered for merging. 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.

New tags always pushed as Ghost user
2 participants