Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testing dependabot branch fails with "Resource not accessible by integration"

See original GitHub issue

When running my workflow on dependabot branch dependabot/npm_and_yarn/typescript-eslint/parser-4.18.0 I am receiving the following error:

2021-03-16T14:49:50.9184853Z Traceback (most recent call last):
2021-03-16T14:49:50.9185525Z   File "/action/", line 89, in <module>
2021-03-16T14:49:50.9186069Z     main(settings)
2021-03-16T14:49:50.9186877Z   File "/action/", line 32, in main
2021-03-16T14:49:50.9187889Z     Publisher(settings, gh).publish(stats, results.case_results)
2021-03-16T14:49:50.9188632Z   File "/action/publish/", line 59, in publish
2021-03-16T14:49:50.9189519Z     check_run = self.publish_check(stats, cases)
2021-03-16T14:49:50.9190217Z   File "/action/publish/", line 163, in publish_check
2021-03-16T14:49:50.9190781Z     output=output)
2021-03-16T14:49:50.9191375Z   File "/action/githubext/", line 78, in create_check_run
2021-03-16T14:49:50.9192995Z     headers={'Accept': 'application/vnd.github.antiope-preview+json'},
2021-03-16T14:49:50.9194475Z   File "/usr/local/lib/python3.6/site-packages/github/", line 319, in requestJsonAndCheck
2021-03-16T14:49:50.9195678Z     verb, url, parameters, headers, input, self.__customConnection(url)
2021-03-16T14:49:50.9196789Z   File "/usr/local/lib/python3.6/site-packages/github/", line 342, in __check
2021-03-16T14:49:50.9197860Z     raise self.__createException(status, responseHeaders, output)
2021-03-16T14:49:50.9200050Z github.GithubException.GithubException: 403 {"message": "Resource not accessible by integration", "documentation_url": ""}

The full logs can be seen here. The tests are XML formatted coburtura test results, I have attached the test files used for this workflow below: Unit Test

Any help would be appreciated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

EnricoMicommented, Mar 18, 2021

My pleasure! Thanks for bringing this to my attention. In fact, you made me setup dependabot to replicate this, and dependabot is pretty great, so I have now added it to all my projects, where it now works great along with this action. So win-win I would say.

Spread the word and use the action where ever you can 😄.

Allcharlescommented, Mar 18, 2021

Thank you for the help and the quick reply. Do you have somewhere I can donate to you for your work on this repo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Resource not accessible by integration" · Issue #10
I'm confused. This is an action configured in the main repo for a PR in the main repo? All reactions.
Read more >
"Resource not accessible by integration" on github post / ...
The problem here is related to the GITHUB_TOKEN permission scope that is generated automatically in a Github Actions workflow run ...
Read more >
Debug "Resource not accessible by integration" error when ...
This error basically talks about a permission issue. When working with Github apps, you may not have set the necessary permission to access...
Read more >
When I rerun PR ... HttpException: {"message":"Resource not accessible by integration" ...
Read more >
Resource not accessible by integration - Support - Bors Forum
Hello, We are migrating our CI from CircleCI to Github Actions. I've updated my bors.toml file to something like: status = [ "Test...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found