Skip to content

Commit

Permalink
doc: update documentation of required permissions
Browse files Browse the repository at this point in the history
since we are now using checks instead of statuses we require new permissions.

```yml
permissions:
  checks: write
  pull-requests: write
```
  • Loading branch information
jamacku committed May 19, 2023
1 parent 4c4ef98 commit f1bb35f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ jobs:
validated-pr-metadata: ${{ steps.commit-linter.outputs.validated-pr-metadata }}

permissions:
# required for commit statuses
statuses: write
# required for creation of checks
checks: write
# required for PR comments
pull-requests: write

Expand Down Expand Up @@ -191,12 +191,12 @@ Pull Request metadata has the following format: [metadata format](https://github

### token

GitHub token or PAT is used for creating comments on Pull Request and setting commit statuses.
GitHub token or PAT is used for creating comments on Pull Request and setting checks.

```yml
# required permission
permissions:
statuses: write
checks: write
pull-requests: write
```
Expand Down

0 comments on commit f1bb35f

Please sign in to comment.