From 2c5449f759ed413804f66b36da9aa1573f144175 Mon Sep 17 00:00:00 2001 From: gh-action-runner <runner@Mac-1707517367438.local> Date: Fri, 9 Feb 2024 22:49:20 +0000 Subject: [PATCH] Squashed 'apollo-ios/' changes from 6bfbed94..da1ffac6 da1ffac6 chore: Fix user survey actions script (apollographql/apollo-ios-dev#263) git-subtree-dir: apollo-ios git-subtree-split: da1ffac6802d00fb3aa70e0e60f07a8c93b7febe --- .github/workflows/issue-close-user-survey.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/issue-close-user-survey.yml b/.github/workflows/issue-close-user-survey.yml index fdaef3bd8..7a2825410 100644 --- a/.github/workflows/issue-close-user-survey.yml +++ b/.github/workflows/issue-close-user-survey.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'apollographql/apollo-ios' steps: - - run: - if [ "$AUTHOR" == "MEMBER" ] && [ "$COMMENTS" == 0 ]; then + - run: | + if [ "$AUTHOR" == "MEMBER" ] && (( $COMMENTS == 0 )); then echo "Issue opened by member with no comments, skipping user survey." else gh issue comment "$NUMBER" --body "$BODY"