Skip to content

Commit f1abe95

Browse files
committed
Allow golangci-lint checks to annotate code in PRs
Signed-off-by: Evan Lezar <[email protected]>
1 parent a740801 commit f1abe95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/golangci-lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ permissions:
1111
contents: read
1212
# Optional: allow read access to pull request. Use with `only-new-issues` option.
1313
# pull-requests: read
14+
# Optional: allow write access to checks to allow the action to annotate code in the PR.
15+
checks: write
1416

1517
jobs:
1618
golangci:

0 commit comments

Comments
 (0)