-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Assign pull-requests: write permission to build action #263
Comments
Added to my build script, thanks! Need to test it out. |
Ok I added this but it's still failing. Any idea why? |
This is apparently due to a policy change by GitHub. See marocchino/sticky-pull-request-comment#227. |
Probably need the same thing @sadukie did on my Result project. |
@ardalis It looks like I somehow added this back in March. It looks to be working, according to this PR: #283 Looking at past actions
I think this issue can be closed. |
Added in this PR: #265 |
For GitHub actions to comment on a PR, the
pull-requests: write
permission is required. See: [this discussion].(https://github.com/orgs/community/discussions/26644)The lack of this permission is causing the
Resource not available by integration
error for the build action.This permission can be added to build.yml as:
I have tried this on my fork and the build passes and adds the comment successfully: amal-stack#2.
Also, see: Assigning Permissions to Jobs.
The text was updated successfully, but these errors were encountered: