Repository navigation
Renovate bot ignoring gitAuthor config property #902
Description
Hello. I would like to ask for help understanding a problem i have been facing all day.
I have managed to set up the bot via the Renovate App and it was working no problem. I have managed to set up a Github action workflow to run the bot on schedule that i'd like and within my github account, and everything was working fine. The bot is making the PRs and Dashboard is working just fine.
The issue i am facing, is that all the commits and PRs, everything the bot does, is authored as me. Normally when i set it up as the Github App, i'd see the renovate BOT making the PRs, but if i set it up as a workflow, everything is shown as i am the author. This is not the behaviour i would like to see and here i am asking for support on this matter.
Here's the github action workflow i have used:
name: Renovate
on:
# schedule:
# - cron: '0/10 * * * *'
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Self-hosted Renovate
uses: renovatebot/github-action@v41.0.7
with:
configurationFile: .github/renovate/renovate-config.json
token: ${{ secrets.RENOVATE_TOKEN }}
env:
LOG_LEVEL: debug
Here is the renovate-config.json file:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"branchPrefix": "renovate/",
"dependencyDashboardTitle": "Renovate Dependency Dashboard",
"gitAuthor": "RenovateBOT <bot@renovateapp.com>",
"onboarding": true,
"onboardingBranch": "renovate/configure",
"platform": "github",
"prConcurrentLimit": 20,
"prHourlyLimit": 10,
"repositories": [
"HERE I PUT MY ACC/REPO"
],
"labels": ["BOT"]
}
Just for the record, i have tried different ways to make it work, i tried:
- adding the renovate user env variable
- adding preset file
- adding gitAuthor in the root folder json config file
I have created a separate PAT token with necessary permissions for the bot to use that's saved in the repository's secret variables.
At this point i am quite clueless as to what could be the problem. Is this simply a GitHub limitation and because mine is a personal (even though i pay for github pro) account? Or is there something i need to do in order to fix it?
Thank you very much in advance for your support. Please let me know if there's anything else you'd like me to provide.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Datasource
Activity
rarkins commentedon Jan 14, 2025
Please provide some screenshots showing what you mean
The-Lomax commentedon Jan 14, 2025
The-Lomax commentedon Jan 14, 2025
What i mean is that the bot is creating all the PRs and Dependency Dashboard, but it's all in my name. I would like it to say correctly, that it was authored by "Renovate Bot"
rarkins commentedon Jan 14, 2025
This indicates that you're using a PAT for Renovate (not an App as you said) and the result is to be expected. It is not possible to change "The-Lomax" part in that screenshot because otherwise it would be complete madness on GitHub.com as anyone could impersonate anyone else.
This is not a bug, and should not be an issue so closing. Please create a discussion instead.