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

mainmatter/continue-on-error-comment fails on PRs #207

Open
kategengler opened this issue Dec 3, 2024 · 0 comments
Open

mainmatter/continue-on-error-comment fails on PRs #207

kategengler opened this issue Dec 3, 2024 · 0 comments

Comments

@kategengler
Copy link
Contributor

mainmatter/continue-on-error-comment fails on PRs with Error: Resource not accessible by integration

https://github.com/mainmatter/continue-on-error-comment#permissions says to set d

    permissions:
      pull-requests: write

but that is true in this workflow already and it is not working.

It alternatively suggests using pull_request_target but that is not safe to do in any workflow that runs code from the PR.

I think the best way to run it would be to have another workflow that runs on pull_request_target that checks the results of the CI workflow.

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

1 participant