Commit 873d2b9
committed
feat: check reviewer username for merge requests
Adds a new optional configuration parameter to specify a required reviewer username for merge requests. If set, the bot validates that the specified reviewer in the `BOT_GITLAB_MERGE_REQUEST_REVIEWER_USERNAME` environment variable is present in the event data `reviewers` array before processing the merge request.1 parent a005134 commit 873d2b9
3 files changed
+39
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
106 | 130 | | |
107 | 131 | | |
108 | 132 | | |
| |||
297 | 321 | | |
298 | 322 | | |
299 | 323 | | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
300 | 327 | | |
301 | 328 | | |
302 | 329 | | |
303 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
304 | 334 | | |
305 | 335 | | |
306 | 336 | | |
307 | 337 | | |
308 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
309 | 342 | | |
310 | 343 | | |
311 | 344 | | |
| |||
0 commit comments