benchmark-action / benchmark-action/github-action-benchmark

request: document permissions needed for GITHUB_TOKEN

Open
#164 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
184
PR merge metrics
No merged PRs in 30d

Description

https://github.com/benchmark-action/github-action-benchmark/blob/5112d4a6bcc0377392283d37b648acc987555249/README.md?plain=1#L420-L425

can you please document what `scopes` the token need? i.e. what APIs does it call?https://docs.github.com/en/rest/overview/permissions-required-for-github-apps?apiVersion=2022-11-28

For example, I expect for the most basic scenario it only needs

```
permissions:
contents: read
```

and with `auto-push: true` it also needs

```
permissions:
contents: write
```

at the job level

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.