releaser-pleaser/internal/forge/github
Julian Tölle 328e29a70b feat: real user as commit author
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 10:05:25 +02:00
..
github.go feat: real user as commit author 2025-06-09 10:05:25 +02:00