Hi all,
I am running gitea inside a self-hosted docker and wanted to integrate renovate for automated package updates.
So I followed the docs and created a new user renovate-bot
and created for that new user a token via gitea api. I’ll then changed the renovate config accordingly.
So very time the renovate docker (which ist scheduled) runs - it will check the dependencies and creates PRs for package updates. That’s working quite well…
Next I wanted to have automerge of those PRs activated in case there is no conflict. SO I changed the renovate config inside the repo to refelect. ("automerge": true
)
But that is not working - I think I drilled down to the issue. Renovate is checking if the newly created PR, if it is created from the bot - and it seems to be not.
So I checked that created PR via API and was wondering why the user of that PR is not renovate-bot
but the owner of the repo:
{
"id": 10,
"url": "https://git.mydomain.net:443/owner/repo/pulls/22",
"number": 22,
"user": {
"id": 1,
"login": "kimpenhaus",
"full_name": "Marcus Kimpenhaus",
"email": "some@email.de",
"avatar_url": "https://git.mydomain.net:443/user/avatar/kimpenhaus/-1",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2018-03-14T14:58:54Z",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "",
"visibility": "public",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "kimpenhaus"
},
"title": "Update dependency Flask-WTF to v0.15.1",
"body": "This PR contains the following updates:\n\n| Package | Update | Change |\n|---|---|---|\n| [Flask-WTF](https://github.com/wtforms/flask-wtf) | patch | `==0.15.0` -> `==0.15.1` |\n\n:warning: Release Notes retrieval for this PR were skipped because no github.com credentials were available.\nIf you are self-hosted, please see [this instruction](https://github.com/renovatebot/renovate/blob/master/docs/usage/examples/self-hosting.md#githubcom-token-for-release-notes).\n\n---\n\n### Configuration\n\n📅 **Schedule**: At any time (no schedule defined).\n\n🚦 **Automerge**: Enabled.\n\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about this update again.\n\n---\n\n - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.\n\n---\n\nThis PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).",
"labels": [
{
"id": 30,
"name": "dependencies",
"color": "fbca04",
"description": "",
"url": ""
}
],
So I am pretty helpless in what causes this - why does it look like that the PR is created from user kimpenhaus
and not renovate-bot
even if renovate-bot
did the commit and should have created the PR.
What am I missing - didi I screwed up the config? Any can help me with that dilemma?
Thanks a lot If I could provide any furhter information, please let me know - I will happily do!
PS:: I wanted to provide more links and pics … but as new user I am restricted to 2 links and 1 media file… sorry!