Skip to content

Commit

Permalink
[github] fix auto milestone bot
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 10, 2020
1 parent 1c5bd1a commit f8620e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-milestone.yml
Expand Up @@ -67,7 +67,7 @@ jobs:
MILESTONE_NUMBER=$(echo "${JSON_DATA}" | jq ".repository.refs.edges[] | select( .node.name == \"${MILESTONE_TITLE}\" ) | .node.number")
echo "MILESTONE_NUMBER: ${MILESTONE_NUMBER}"
echo "::set-output name=milestone_number::${MILESTONE_NUMBER}"
MILESTONE_EXISTS=$([[ -n $echo("${JSON_DATA} | jq ".repository.refs.edges[].node.name | select( . | test(\"^${MILESTONE_TITLE}\") )" ]] && echo "true" || echo "false")
MILESTONE_EXISTS=$([[ -n $(echo "${JSON_DATA}" | jq ".repository.refs.edges[].node.name | select( . | test(\"^${MILESTONE_TITLE}\") ) ") ]] && echo "true" || echo "false" )
echo "MILESTONE_EXISTS: ${MILESTONE_EXISTS}"
echo "::set-output name=milestone_exists::${MILESTONE_EXISTS}"
Expand Down

0 comments on commit f8620e8

Please sign in to comment.