Skip to content

Commit fba5c61

Browse files
weshaggardjnlycklama
authored andcommitted
Attempt to fix the pr MergeRequested workflow (#26157)
We are getting the following error in our workflow: ``` GraphQL: Resource not accessible by integration (repository.pullRequest.projectCards.nodes) ``` When we call `gh pr edit` Based on the issue at cli/cli#6274 we can try adding the repository-projects: read permission to workaround this.
1 parent 3d89f95 commit fba5c61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/comment.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ on:
44
issue_comment:
55
types: [created]
66

7-
permissions: {}
7+
permissions:
8+
pull-requests: write
9+
repository-projects: read
810

911
jobs:
1012
comment-handler:

0 commit comments

Comments
 (0)