Skip to content

Missing documentation requirement: GITHUB_TOKEN write permission #401

@raidenfreeman

Description

@raidenfreeman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions