game-ci / game-ci/documentation
Missing documentation requirement: GITHUB_TOKEN write permission
- Dominant language
- MDX
- Stars
- 243
- Forks
- 130
- Avg merge
- 15d 42m
- Merged PRs (30d)
- 1
Description
**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](https://stackoverflow.com/questions/70435286/resource-not-accessible-by-integration-on-github-post-repos-owner-repo-ac) 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)](https://github.blog/changelog/2023-02-02-github-actions-updating-the-default-github_token-permissions-to-read-only/)

Contributor guide
Assessment
This issue has not been assessed yet.