From b02d4ac49216fdbda577c364ac8b90f497ef6f12 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Mon, 31 Jul 2023 14:32:23 +0200 Subject: [PATCH] docs(platform/Gitea): Update PAT scopes for Gitea (#23615) Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> --- lib/modules/platform/gitea/index.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/modules/platform/gitea/index.md b/lib/modules/platform/gitea/index.md index 40aef47bea..696be73664 100644 --- a/lib/modules/platform/gitea/index.md +++ b/lib/modules/platform/gitea/index.md @@ -17,8 +17,13 @@ You must set `platform=gitea` in your Renovate config file. The PAT should have these permissions: -- `repo` -- `read:user` and `read:email` +| Permission | Valid for Gitea versions | +| ------------ | ------------------------------ | +| `repo` | all | +| `read:user` | all | +| `issue` | `>= 1.20.0` | +| `read:email` | `<= 1.19.3` | +| `read:misc` | Only for `1.20.0` and `1.20.1` | If you use Gitea packages, add the `read:packages` scope. -- GitLab