docs: fix checks permissions for annotations (#1204)

This commit is contained in:
kema 2025-03-19 13:23:45 +01:00 committed by GitHub
parent b91d580160
commit 9938e103f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -505,7 +505,7 @@ The restrictions of annotations are the following:
If you would like to have comments - please, up-vote [the issue](https://github.com/golangci/golangci-lint-action/issues/5). If you would like to have comments - please, up-vote [the issue](https://github.com/golangci/golangci-lint-action/issues/5).
3. The number of annotations is [limited](https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md#limitations). 3. The number of annotations is [limited](https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md#limitations).
To enable annotations, you need to add the `checks` permission to your action. Permissions required:
```yaml annotate ```yaml annotate
permissions: permissions: