GITEA_AUTH_USER_NAME like GOGS_AUTH_USER_NAME #1932

Closed
opened 2025-11-02 04:18:08 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @treyerl on GitHub (Jun 14, 2018).

Recently I switched from gogs to gitea (fail2ban, time tracking etc). Now I am struggling with githooks. As discussed here Gogs provides GOGS_AUTH_USER_NAME and GOGS_AUTH_USER_EMAIL as environment variables to githooks. In Gogs I was using git_multimail.py to send out emails to my buddies upon every commit / push.
Is there a possibility to send out emails upon refchanges, containing the Gitea username as a sendername and the useremailaddress as sender?
Would be nice to add something like GITEA_AUTH_USER_NAME and GITEA_AUTH_USER_EMAIL - or document it, if it exists.

Originally created by @treyerl on GitHub (Jun 14, 2018). Recently I switched from gogs to gitea (fail2ban, time tracking etc). Now I am struggling with githooks. As discussed [here](https://discuss.gogs.io/t/how-to-use-custom-git-hooks/967) Gogs provides GOGS_AUTH_USER_NAME and GOGS_AUTH_USER_EMAIL as environment variables to githooks. In Gogs I was using git_multimail.py to send out emails to my buddies upon every commit / push. Is there a possibility to send out emails upon refchanges, containing the Gitea username as a sendername and the useremailaddress as sender? Would be nice to add something like GITEA_AUTH_USER_NAME and GITEA_AUTH_USER_EMAIL - or document it, if it exists.
GiteaMirror added the type/enhancement label 2025-11-02 04:18:08 -06:00
Author
Owner
@treyerl commented on GitHub (Jun 15, 2018): related: https://github.com/go-gitea/gitea/issues/145 https://github.com/go-gitea/gitea/issues/3397 https://github.com/go-gitea/gitea/pull/523
Author
Owner

@lafriks commented on GitHub (Jul 26, 2018):

Fixed by #4516

@lafriks commented on GitHub (Jul 26, 2018): Fixed by #4516
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1932