Commit 11d8a78
authored
fix(workflow): Fix permission issue with github app and PR draft graphql endpoint (#5887)
### Description
There's a bug/limitation with the convertPullRequestToDraft GraphQL
endpoint that does not allow GitHub app to access it, even with
pull-request:write
the workaround is to use the github action token with write access to
both content and pull request
#### Issues
https://linear.app/getsentry/issue/SEC-1205/github-app-graphql-limitation-with-convertpullrequesttodraft-endpoint
#### Reminders1 parent 3debca0 commit 11d8a78
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments