Skip to content

Commit c4e2d74

Browse files
joyceerhlluabud
authored andcommitted
Fix GitHub Actions bot again (microsoft#14361)
1 parent c2e5239 commit c4e2d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/assignIssue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
ISSUE_ASSIGNEES: ${{toJson(github.event.issue.assignees)}}
2323
ISSUE_IS_INTERNAL: ${{steps.internal.outputs.result}}
2424
run: |
25-
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 && JSON.parse(process.env.ISSUE_LABELS).filter(item => item.name.indexOf('Epic') === -1).length === 1 ? 1 : 0")
25+
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) && JSON.parse(process.env.ISSUE_LABELS).filter(item => item.name.indexOf('Epic') >= 0).length === 0 ? 1 : 0")
2626
shell: bash
2727
- uses: actions/checkout@v2
2828
if: steps.proceed.outputs.result == 1

0 commit comments

Comments
 (0)