From fbf8a15df4fc673a58162efc98603dd8b1a2dda8 Mon Sep 17 00:00:00 2001
From: Daniel Koch <danielkoch.de@gmail.com>
Date: Sat, 11 Nov 2023 09:30:05 +0100
Subject: [PATCH] docs: add information about permissions for azure pat
 (#25534)

Co-authored-by: Daniel Koch <Daniel.Koch@arineo.com>
---
 lib/modules/platform/azure/readme.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lib/modules/platform/azure/readme.md b/lib/modules/platform/azure/readme.md
index 36cfbdb61a..8448600de3 100644
--- a/lib/modules/platform/azure/readme.md
+++ b/lib/modules/platform/azure/readme.md
@@ -9,6 +9,13 @@ Let Renovate use your PAT by doing _one_ of the following:
 - Set your PAT as an environment variable `RENOVATE_TOKEN`
 - Set your PAT when you run Renovate in the CLI with `--token=`
 
+Permissions for your PAT should be at minimum:
+
+| Scope        | Permission   | Description                       |
+| ------------ | ------------ | --------------------------------- |
+| `Code`       | Read & Write | Required                          |
+| `Work Items` | Read & write | Only needed for link to work item |
+
 Remember to set `platform=azure` somewhere in your Renovate config file.
 
 ## Features awaiting implementation
-- 
GitLab