Closed BasantPandey closed 1 year ago
This issue is related to the token, marked as close as I am able to fix it.
Hi @BasantPandey, can you share what the fix was? DId you have to specify the permissions
-field?
I have created PAT token with full permission for the time being to fixed it.
The example provided in docs not working as expected. I think this secrets.GITHUB_TOKEN doesn't has permission to add comment on the issue. Will share you more details tomorrow.
I have created PAT token with full permission for the time being to fixed it.
The example provided in docs not working as expected. I think this secrets.GITHUB_TOKEN doesn't has permission to add comment on the issue. Will share you more details tomorrow.
Where can i find the details
The example provided in docs not working as expected. I think this secrets.GITHUB_TOKEN doesn't has permission to add comment on the issue.
We need to configure permissions
like this:
permissions:
pull-requests: write
See GitHub official documentation about permissions
for more information.
We need to configure
permissions
like this:permissions: pull-requests: write
Adding issues: write
with already existing pull-requests: write
solved my issue (but I was using it only for pull-requests)
Hello Team,
I am trying to create a comment. But not sure what goes wrong here. here is my example Pipeline. link
Here is the error message.