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:
permissions:
pull-requests: write
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.
For GitHub actions to comment on a PR, the
pull-requests: writepermission is required. See: [this discussion].(https://github.com/orgs/community/discussions/26644)The lack of this permission is causing the
Resource not available by integrationerror 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.