From 93e377233f9b91ab45a73b4e116c8c0bddfd0e79 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 12 Feb 2024 22:14:41 -0800 Subject: [PATCH] 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 --- .github/workflows/validate.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index cd340328b5a..007ec338f28 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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