documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Missing documentation requirement: GITHUB_TOKEN write permission

Open raidenfreeman opened this issue 2 years ago • 2 comments

Bug description

The documentation is missing a required step: the Github Token needs write permission if it's used for test outputs.

Steps to reproduce

Create a new repository on Github. Populate it with a new unity project. Add any test to the project Use the Simple Example main.yml Push to GH The action should fail during testing with the following message: "Resource not available by integration"

Expected behavior

The build should complete

Additional details

The solution as per stack overflow is to give write permission to your repository's GITHUB_TOKEN. Older repositories had that setting by default, but it changed on Feb 2023 (github changelog)

image

raidenfreeman avatar Jul 12 '23 22:07 raidenfreeman

I'll try to open a PR to add the permission suggestion to the Common Issues and the Test Runner page.

raidenfreeman avatar Jul 12 '23 22:07 raidenfreeman

It would be awesome to know what write permissions are needed explicitly.

Valphai avatar Jul 26 '23 10:07 Valphai