diff --git a/.github/workflows/auto-reply-pr.yml b/.github/workflows/auto-reply-pr.yml index d7826b6..ffc1681 100644 --- a/.github/workflows/auto-reply-pr.yml +++ b/.github/workflows/auto-reply-pr.yml @@ -29,7 +29,7 @@ jobs: echo "::set-output name=message::${reply_messages[$random_index]}" - name: Reply to issue using GitHub CLI - if: "!contains(['YoavBZ', 'asaf'], github.event.pull_request.user.login)" + if: !contains(fromJson('["YoavBZ", "asaf"]'), github.event.pull_request.user.login ) run: | gh pr comment ${{ github.event.number }} --body "${{ steps.choose_message.outputs.message }}" env: