Skip to content

Commit 9938e10

Browse files
authored
docs: fix checks permissions for annotations (#1204)
1 parent b91d580 commit 9938e10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ The restrictions of annotations are the following:
505505
If you would like to have comments - please, up-vote [the issue](https://github.com/golangci/golangci-lint-action/issues/5).
506506
3. The number of annotations is [limited](https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md#limitations).
507507

508-
To enable annotations, you need to add the `checks` permission to your action.
508+
Permissions required:
509509

510510
```yaml annotate
511511
permissions:
@@ -521,7 +521,7 @@ For annotations to work use the default `colored-line-number` output and either
521521

522522
The action was implemented with performance in mind:
523523

524-
1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache).
524+
1. We cache data from golangci-lint analysis between builds by using [@actions/cache](https://github.com/actions/toolkit/tree/HEAD/packages/cache).
525525
2. We don't use Docker because image pulling is slow.
526526
3. We do as much as we can in parallel, e.g. we download cache, and golangci-lint binary in parallel.
527527

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy