Commit 5c1ac62
committed
Fix error when PR author tries to add themselves as reviewer
HTTP 422 error occurred when PR author and repository owner were the same person
Added condition to only add reviewer when PR author is not the repository owner1 parent 90aff98 commit 5c1ac62
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments