From a74fcd3ee08fb9ae06ce5ff065585be93b7819de Mon Sep 17 00:00:00 2001 From: Tomasz Gorochowik Date: Tue, 6 Aug 2024 10:24:24 +0200 Subject: [PATCH] Add PR write permissions to the comment bot This is required to post a comment after the latest changes in GH api. Signed-off-by: Tomasz Gorochowik --- .github/workflows/comment-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/comment-pr.yml b/.github/workflows/comment-pr.yml index 983af04e21f13..b1d161c07999c 100644 --- a/.github/workflows/comment-pr.yml +++ b/.github/workflows/comment-pr.yml @@ -75,6 +75,8 @@ jobs: - name: Post comment uses: KeisukeYamashita/create-comment@v1 + permissions: + pull-requests: write with: number: ${{ steps.get-pr-number.outputs.num }} check-only-first-line: "true"