releaser-pleaser/internal/forge
Julian Tölle 175d6d0633
feat: real user as commit author (#187)
Previously all commits were authored and committed by

    releaser-pleaser <>

This looked weird when looking at the commit. We now check with the
Forge API for details on the currently authenticated user, and use that
name and email as the commit author. The commit committer stays the same
for now.

In GitHub, the default `$GITHUB_TOKEN` does not allow access to the
required endpoint, so for github the user `github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>` is hardcoded
when the request fails.
2025-06-09 08:06:56 +00:00
..
github feat: real user as commit author (#187) 2025-06-09 08:06:56 +00:00
gitlab feat: real user as commit author (#187) 2025-06-09 08:06:56 +00:00
forge.go feat: real user as commit author (#187) 2025-06-09 08:06:56 +00:00