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

Permissions errors with GitHub Action #186

Open
DwayneJengSage opened this issue Mar 21, 2023 · 4 comments
Open

Permissions errors with GitHub Action #186

DwayneJengSage opened this issue Mar 21, 2023 · 4 comments

Comments

@DwayneJengSage
Copy link

Hi! I'm trying out Codeball on my repository. However, I keep getting permissions errors. I have confirmed that the settings in my repo match the settings described on the README. However, no matter what I do, it keeps saying GITHUB_TOKEN Permissions PullRequests: Read.

See https://github.com/Sage-Bionetworks/BridgeServer2/actions/runs/4466786157/jobs/7845904574

I then tried installing the Codeball AI Writer to my repositories as a workaround to my permissions issue, and now I'm getting an Internal Server Error instead, and I'm stumped. I re-ran the action with debug information, and I'm stumped. I'm not sure how to progress from here: https://github.com/Sage-Bionetworks/BridgeServer2/actions/runs/4466786157/jobs/7846088536

Thanks in advance!

@keatsk
Copy link

keatsk commented May 16, 2023

We're seeing the same issue, but only for forked PRs. I believe security policy is preventing PR write permissions for fork PRs.

@adnauseum
Copy link

adnauseum commented May 17, 2023

Likewise seeing this issue for PRs from a repo generated from a template: https://github.com/adnauseum/one-tab-mode/actions/runs/5002092471/jobs/8961615652

☝️ I fixed my permission errors by visiting: https://github.com///settings/actions and modifying settings in Workflow permissions. It's listed in the troubleshooting docs: https://github.com/sturdy-dev/codeball-action#troubleshooting

I'm curious @keatsk and @DwayneJengSage, what do those settings look like for you? Is "Allow GitHub Actions to create and approve pull requests" checked, for example?

@DwayneJengSage
Copy link
Author

I'm curious @keatsk and @DwayneJengSage, what do those settings look like for you? Is "Allow GitHub Actions to create and approve pull requests" checked, for example?

Yes, that's already checked for me.

@adnauseum
Copy link

I'm curious @keatsk and @DwayneJengSage, what do those settings look like for you? Is "Allow GitHub Actions to create and approve pull requests" checked, for example?

Yes, that's already checked for me.

Ack. Then I have nothing more for you 😭

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

No branches or pull requests

3 participants