From 1d421a99c435fa361e603a8c48e840c28aefa9bd Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 29 Sep 2020 11:20:32 -0700 Subject: [PATCH] Logic was incorrect --- .github/workflows/assignIssue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/assignIssue.yml b/.github/workflows/assignIssue.yml index c933d4173f21..d5de296921e1 100644 --- a/.github/workflows/assignIssue.yml +++ b/.github/workflows/assignIssue.yml @@ -22,7 +22,7 @@ jobs: ISSUE_ASSIGNEES: ${{toJson(github.event.issue.assignees)}} ISSUE_IS_INTERNAL: ${{steps.internal.outputs.result}} run: | - echo ::set-output name=result::$(node -p -e "process.env.ISSUE_IS_INTERNAL === '0' && JSON.parse(process.env.ISSUE_ASSIGNEES).length === 0 && JSON.parse(process.env.ISSUE_LABELS).filter(item => item.name.indexOf('data science') >= 0).length === 0 ? 1 : 0") + echo ::set-output name=result::$(node -p -e "process.env.ISSUE_IS_INTERNAL === '0' && JSON.parse(process.env.ISSUE_ASSIGNEES).length === 0 && JSON.parse(process.env.ISSUE_LABELS).filter(item => item.name.indexOf('data science') >= 0).length === 1 ? 1 : 0") shell: bash - uses: actions/checkout@v2 if: steps.proceed.outputs.result == 1