question-mark
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.

Fails with "Error: Resource not accessible by integration"

See original GitHub issue

When I try to publish my mocha-json results I get this error. No clues as to the cause in the logs though.

Run dorny/test-reporter@v1
  with:
    name: UI Unit Test Results Linux-ubuntu1804-x86_64
    path: common/apps/ui/**/ui-test-results.json
    reporter: mocha-json
    fail-on-error: false
    path-replace-backslashes: false
    list-suites: all
    list-tests: all
    max-annotations: 10
    only-summary: false
    token: ***
  env:
    VERSION: 9.0.1-419-g103764bM
    PLAT: Linux-ubuntu1804
    ARCH: x86_64
Check runs will be created with SHA=103764b486215b834c933ce803b46b29fbd1a276
Listing all files tracked by git
Found 10948 files tracked by GitHub
Using test report parser 'mocha-json'
Creating test report UI Unit Test Results Linux-ubuntu1804-x86_64
  Processing test results from common/apps/ui/ui-test-results.json
  Creating check run UI Unit Test Results Linux-ubuntu1804-x86_64
Error: Resource not accessible by integration

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
sturmancommented, Jan 4, 2022

@kpturner, looks like the dorny/test-reporter actions requires checks: write permissions to post a check with test reports so please add it to your workflow

permissions:
  id-token: write
  contents: read
  checks: write
0reactions
hilmarfcommented, Jun 28, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

"Resource not accessible by integration" · Issue #10 - GitHub
This happens as soon as the person creating the PR does not have permission to the repository. I've been all day with this,...
Read more >
"Resource not accessible by integration" on github post /repos ...
1 · Hello. · Most of the time, when an operation works with the PAT and not with the GITHUB_TOKEN, it's a scope...
Read more >
Resource not accessible by integration - GoReleaser
While it is a good practice, and should work for most cases, if your workflow writes a file in another repository, you may...
Read more >
GitHub checks: "Resource not accessible by integration"
I have a GitHub app, and the GitHub plugin installed. I now have regularly this warning: WARNING i.j.p.c.g.GitHubChecksPublisher#publish: Failed ...
Read more >
GitHub Actions - Resource not accessible by integration
This post will hopefully help anyone searching for the following error. RequestError [HttpError]: Resource not accessible by integration at ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found