Skip to content

Commit

Permalink
ci/golangci-lint: add checks permission
Browse files Browse the repository at this point in the history
This permission is now needed so that the linter can annotate code in a
PR (see [1]).

[1] golangci/golangci-lint-action@bc1904f

Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Feb 13, 2024
1 parent 9d2842d commit 93e3772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 93e3772

Please sign in to comment.