danger-js icon indicating copy to clipboard operation
danger-js copied to clipboard

[BUG] Resource not accessible by integration - Using Github App

Open gabsmprocha opened this issue 3 years ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

i'm using a token provided by github app, following this tutorial,

https://github.com/marketplace/actions/get-an-app-token-in-an-actions-workflow

I provided all possible permissions, but I can't update the PR by clearing an old danger message for example, any idea what could be causing this?

ps: i cant use GITHUB_TOKEN or any PAT, because im using this in a monorepo context, so I get a lot of rate-limit

To Reproduce Steps to reproduce the behavior:

  1. install danger and put on github actions CI
  2. create a github app
  3. follow this steps https://github.com/marketplace/actions/get-an-app-token-in-an-actions-workflow

Expected behavior

Screenshots Captura de Tela 2022-01-24 às 13 27 25

Captura de Tela 2022-01-24 às 13 42 37

Your Environment

software version
danger.js 10.8.0
node 14.17.6
npm 6.14.15
Operating System Github Actions (linux)

Additional context Add any other context about the problem here.

gabsmprocha avatar Jan 24 '22 16:01 gabsmprocha

Did anyone find a solution for this issue? If you are passing --failOnErrors argument when executing the danger, process will definitely exit due to this issue.

samitha-calcey avatar Aug 31 '23 16:08 samitha-calcey