Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to publish Kover code coverage report as a comment in pull requests #111

Closed
xxfast opened this issue Feb 14, 2023 · 2 comments
Closed

Comments

@xxfast
Copy link

xxfast commented Feb 14, 2023

Running into this issue and wondering if any recent changes has caused this.

My action is available here

HttpError: Resource not accessible by integration
    at /home/runner/work/_actions/mi-kas/kover-report/v1/webpack:/kover-report/node_modules/@octokit/request/dist-node/index.js:86:1
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
@mi-kas
Copy link
Owner

mi-kas commented Feb 15, 2023

Hi @xxfast! Thanks for bringing this issue up. I think this is related to some missing permissions for the action in your repo. Could you try to add the "pull-request: write" permission to your check job and let me know if this solves the issue?

jobs:
  check:
    runs-on: ubuntu-latest
    permissions:
      pull-requests: write

@xxfast
Copy link
Author

xxfast commented Feb 15, 2023

Yup, that worked 🙌 Thank you!

I wonder if this is a recent change. This could also be because I recently added permissions to the top level.

Either way - this is now solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants