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

Missing documentation requirement: GITHUB_TOKEN write permission #401

Open
raidenfreeman opened this issue Jul 12, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@raidenfreeman
Copy link

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 raidenfreeman added the bug Something isn't working label Jul 12, 2023
@raidenfreeman
Copy link
Author

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

@Valphai
Copy link

Valphai commented Jul 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants