ci/golangci-lint: add checks permission

This permission is now needed so that the linter can annotate code in a
PR (see [1]).

[1] https://github.com/golangci/golangci-lint-action/pull/931/commits/bc1904f0c946172fc1821908fc41649db49f0334

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2024-02-12 22:14:41 -08:00
parent 9d2842debb
commit 93e377233f
+1
View File
@@ -25,6 +25,7 @@ jobs:
permissions:
contents: read
pull-requests: read
checks: write # to allow the action to annotate code in the PR.
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4