Renovate does not recognize the last commit author #32157
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitHub Please tell us more about your question or problemWe're using Renovate to manage the dependencies in several of our GitHub repositories. We've noticed that recently there's a comment being added to the Renovate managed PRs
Renovate is configured to use GitHub application 'honor-gh-bot' to authenticate to the different GitHub repositories Here's the relevant GitHub action yaml
and here's the relevant Renovate configuration
Note that Any ideas why Renovate is not recognizing the commit author? Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Renovate will use Renovate itself can discover this email address, the logic is here: renovate/lib/modules/platform/github/index.ts Lines 190 to 195 in 813dd34 I recommend leaving gitAuthor blank and letting Renovate discover this. "honor-gh-bot" is also not a valid git author anyway (it must be an email). |
Beta Was this translation helpful? Give feedback.
-
Hi @rarkins that resolved our issue. Thanks so much for the timely feedback 🙌 |
Beta Was this translation helpful? Give feedback.
Renovate will use
platformCommit
to perform signed commits via GitHub's API instead of using git directly. The git author/committer for this is determined by GitHub, using a combination of the app's name and ID.Renovate itself can discover this email address, the logic is here:
renovate/lib/modules/platform/github/index.ts
Lines 190 to 195 in 813dd34