Skip to content

Commit 9e7e927

Browse files
authored
Revert "docs: update annotation permissions (golangci#1203)"
This reverts commit 56b0b54.
1 parent 0f4863d commit 9e7e927

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,8 @@ permissions:
513513
contents: read
514514
# Optional: allow read access to pull request. Use with `only-new-issues` option.
515515
pull-requests: read
516+
# Optional: allow write access to checks to allow the action to annotate code in the PR.
517+
checks: write
516518
```
517519
518520
For annotations to work use the default `colored-line-number` output and either use `actions/setup-go` in the job or enable the internal [problem matchers](#problem-matchers).

0 commit comments

Comments
 (0)