mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-15 23:26:31 +00:00
docs: update annotation permissions
This commit is contained in:
parent
55c2c1448f
commit
7b363689e7
1 changed files with 0 additions and 2 deletions
|
|
@ -513,8 +513,6 @@ permissions:
|
||||||
contents: read
|
contents: read
|
||||||
# Optional: allow read access to pull request. Use with `only-new-issues` option.
|
# Optional: allow read access to pull request. Use with `only-new-issues` option.
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
# Optional: allow write access to checks to allow the action to annotate code in the PR.
|
|
||||||
checks: write
|
|
||||||
```
|
```
|
||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue