Which permissions are required for gh pr checks
?
#67181
Unanswered
jaewonjo-gea
asked this question in
Actions
Replies: 2 comments
-
@jaewonjo-gea |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think bugs and tickets should be opened against each and every entity related to this failure. I'll start: There should be a ticket opened against: But I don't have the energy to open them. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I am currently working on a workflow that automatically makes a branch and push commits to it. I successfully created a PR, but I also want to monitor the checks on the created PR and merge the PR if all checks passed (or skipped).
When I try to run
gh pr checks --watch
andgh pr merge --merge --auto
in a step usingrun:
, I get the following error:This is the code I wrote:
I added these permissions:
(Note that this job was doing some other things as well, which required permissions such as
pull-requests: write
)My guess is that there is an organization or repository level restriction on the permissions, but I could be doing something terribly wrong. I am also not on a fork.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions