From 0e5adeef1b6abca711f56216dc4c277f54afaea6 Mon Sep 17 00:00:00 2001 From: Tomasz Gorochowik Date: Tue, 6 Aug 2024 13:43:26 +0200 Subject: [PATCH] Fix comment job syntax Signed-off-by: Tomasz Gorochowik --- .github/workflows/comment-pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/comment-pr.yml b/.github/workflows/comment-pr.yml index b1d161c07999c..13bed8fe0a7e8 100644 --- a/.github/workflows/comment-pr.yml +++ b/.github/workflows/comment-pr.yml @@ -8,6 +8,8 @@ on: jobs: Comment: + permissions: + pull-requests: write name: Comment runs-on: [self-hosted, Linux, X64, gcp-custom-runners] container: ubuntu:jammy-20221130 @@ -75,8 +77,6 @@ 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"