From 12bd4a0156b75e599d33165e1908e5389d2d1427 Mon Sep 17 00:00:00 2001 From: Maksim Gruzdev Date: Thu, 14 Aug 2025 20:54:25 +0300 Subject: [PATCH] FIX excessive comment workflow call --- .github/workflows/comment.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/comment.yml b/.github/workflows/comment.yml index 6940c1f..6ba287e 100644 --- a/.github/workflows/comment.yml +++ b/.github/workflows/comment.yml @@ -13,10 +13,7 @@ permissions: jobs: comment: runs-on: ubuntu-latest - if: | - ${{ github.event.issue.pull_request }} - && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER') - && contains(github.event.comment.body, '/release') + if: ${{ github.event.issue.pull_request && (github.event.comment.author_association == 'OWNER' || github.event.comment.author_association == 'MEMBER') && contains(github.event.comment.body, '/release') }} steps: - name: Post workflow URL as comment uses: actions/github-script@v7