From a2b6fc9b9b4f52fc54a476d744b72cbb8305d9a2 Mon Sep 17 00:00:00 2001 From: Aleksander Zaruczewski Date: Mon, 12 Feb 2024 11:31:11 +0200 Subject: [PATCH] ci(trunk): fix failing annotations write attempt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✖ Failed to post annotations to github: GitHub Error:403 Body: {"message":"Resource not accessible by integration","documentation_url": "https://docs.github.com/rest/checks/runs#create-a-check-run"} Error: Process completed with exit code 1. --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 01e16ab..45b78f5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,6 +29,8 @@ jobs: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push' runs-on: ubuntu-latest + permissions: + checks: write # For trunk to post annotations steps: - uses: actions/checkout@v3 with: