# PullRequest: user / creator

**URL:** <https://forum.gitea.com/t/pullrequest-user-creator/3796>\
**Category:** Install/Maintain/Configure\
**Created:** [September 20, 2021, 11:11am UTC](https://forum.gitea.com/t/pullrequest-user-creator/3796 "2021-09-20T11:11:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kimpenhaus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/kimpenhaus/32/4790_2.png) [@kimpenhaus](https://forum.gitea.com/u/kimpenhaus)\
**Post date:** [September 20, 2021, 11:11am UTC](https://forum.gitea.com/t/pullrequest-user-creator/3796/1 "2021-09-20T11:11:28Z")

</div>

Hi all,

I am running gitea inside a self-hosted docker and wanted to integrate [renovate](https://github.com/renovatebot/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](https://github.com/renovatebot/renovate/blob/4303063b2ab77e5680d96fa659dd146195f781d7/lib/platform/gitea/index.ts#L89) - 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:

```json
{
  "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": ""
    }
  ],

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/b/bf095ac3498c4d8d2748a1b6f65c1f9aeb93e794.png)

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!

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [September 21, 2021, 4:08pm UTC](https://forum.gitea.com/t/pullrequest-user-creator/3796/2 "2021-09-21T16:08:06Z")

</div>

Could it be that the auth (either app token, or basic auth) that renovate has belongs to your user rather than the newly created bot user? (This is just a guess as I haven’t used renovate on a gitea instance before).
