Skip to content

Commit

Permalink
docs: correct documentation for API calls to /users/ endpoint (#19308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Tanna authored Dec 8, 2022
1 parent 41c14d2 commit 34df4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/platform/github/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The slug name of your app with `[bot]` appended

The [GitHub App associated email](https://github.community/t/logging-into-git-as-a-github-app/115916/2) to match commits to the bot.
It needs to have the user id _and_ the username followed by the `users.noreply.`-domain of either github.com or the GitHub Enterprise Server.
A way to get the user id of a GitHub app is to [query the user API](https://docs.github.com/en/rest/reference/users#get-a-user) at `api.github.com/user/self-hosted-renovate[bot]` (github.com) or `github.enterprise.com/api/v3/uer/self-hosted-renovate[bot]` (GitHub Enterprise Server).
A way to get the user id of a GitHub app is to [query the user API](https://docs.github.com/en/rest/reference/users#get-a-user) at `api.github.com/users/self-hosted-renovate[bot]` (github.com) or `github.enterprise.com/api/v3/users/self-hosted-renovate[bot]` (GitHub Enterprise Server).

**`token:"ghs_123exampletoken"`**

Expand Down

0 comments on commit 34df4ff

Please sign in to comment.