Skip to content

Commit

Permalink
Look for data science labels when auto assigning issues (microsoft#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Sep 29, 2020
1 parent 50c3fd3 commit 6332b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/assignIssue.yml
Expand Up @@ -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
Expand Down

0 comments on commit 6332b81

Please sign in to comment.