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

Documentation: GITHUB_TOKEN #91

Closed
bittelc opened this issue Mar 26, 2021 · 2 comments
Closed

Documentation: GITHUB_TOKEN #91

bittelc opened this issue Mar 26, 2021 · 2 comments
Assignees

Comments

@bittelc
Copy link

bittelc commented Mar 26, 2021

It would be awesome if you could describe in the README what permissions the input GITHUB_TOKEN. Eg. does it need full repo access?
<3

@mikepenz
Copy link
Owner

@bittelc thanks for the input.

The action currently requires the permission to be able to create the checks: https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L74

The GITHUB_TOKEN provided by actions is the default one provided by actions usually sufficient for these actions.

You can find a detailed overview here:
https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token

@mikepenz mikepenz self-assigned this Mar 27, 2021
@bittelc
Copy link
Author

bittelc commented Mar 29, 2021

Ah duh, thank you so much!

@bittelc bittelc closed this as completed Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants