Skip to content

Commit 6332b81

Browse files
authored
Look for data science labels when auto assigning issues (#14161)
1 parent 50c3fd3 commit 6332b81

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).length === 0 ? 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).length === 1 ? 1 : 0")
2626
shell: bash
2727
- uses: actions/checkout@v2
2828
if: steps.proceed.outputs.result == 1

0 commit comments

Comments
 (0)