Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MACHINE_USER_TOKEN permissions needed for a Fine-grained PAT? #230

Open
stevenharman opened this issue Nov 20, 2024 · 1 comment · May be fixed by #231
Open

MACHINE_USER_TOKEN permissions needed for a Fine-grained PAT? #230

stevenharman opened this issue Nov 20, 2024 · 1 comment · May be fixed by #231

Comments

@stevenharman
Copy link

Hello.

The README states that using the MACHINE_USER_TOKEN to approve on behalf of another user requires the repo scope on the PAT (Classic). What permissions are required to make this workflow work with a Fine-grained PAT?

Thank you.

@stevenharman
Copy link
Author

Through some trial and error we were able to get Fine-grained PATs working for the MACHINE_USER_TOKEN. The following Repository permissions are needed:

  • Metadata: read-only
  • Pull Requests: read-only

I'll open a PR to add that to the README.

@stevenharman stevenharman linked a pull request Dec 3, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant