Closed JackatDJL closed 8 months ago
This is exactly related to the following StackOverflow: https://stackoverflow.com/questions/70435286/resource-not-accessible-by-integration-on-github-post-repos-owner-repo-ac
This happens because the pipeline doesn't have the right to publish the report for the tests.
A quick fix is to go in project's settings > Workflow Permissions section and give actions Read and Write permissions.
Closing this as I'm quite sure the answer solves the issue. I've encountered this a few times and this was the solution.
Hi, a better fix is to explicitly add the required permissions to the job using this action, e.g.:
jobs:
test:
permissions:
checks: write
...
steps:
- name: Run Tests
uses: game-ci/unity-test-runner@v4
You can see that in action in my own repo here: https://github.com/shloon/Event-Horizon/blob/b13d2c16be65e5ce1b6fc0e0fd3bbf4bab9ec434/.github/workflows/ci.yml#L8
I think it's worth adding to the documentation at the very least.
💯 oh, agreed, @shloon if you'd like to open a PR for this in the docs, it would be very nice 🙏 Edit: created issue here: https://github.com/game-ci/documentation/issues/443
It worked, Thank you :)
Bug description Hello People of Game-CI i would like some help: i keep geting a error: Resource not Available by Integration Log at the bottom
Thank you in front
How to reproduce
Expected behavior
Testing The Project
Additional details
My CI.yaml:
Log: Pastebin