Giter Site home page Giter Site logo

Comments (6)

BasantPandey avatar BasantPandey commented on August 16, 2024

This issue is related to the token, marked as close as I am able to fix it.

from create-or-update-comment.

bblommers avatar bblommers commented on August 16, 2024

Hi @BasantPandey, can you share what the fix was? DId you have to specify the permissions-field?

from create-or-update-comment.

BasantPandey avatar BasantPandey commented on August 16, 2024

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.

from create-or-update-comment.

abiralkhadka88 avatar abiralkhadka88 commented on August 16, 2024

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

from create-or-update-comment.

hyrodium avatar hyrodium commented on August 16, 2024

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.

from create-or-update-comment.

mialdi98 avatar mialdi98 commented on August 16, 2024

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)

from create-or-update-comment.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.