Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[github] fix auto milestone bot
  • Loading branch information
3nids committed Jan 10, 2020
1 parent 0d3d28e commit 1c5bd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-milestone.yml
Expand Up @@ -64,7 +64,7 @@ jobs:
MILESTONE_TITLE="${QGIS_MAJOR_VERSION}."$(echo "${MAX_RELEASE} + 0.1 " | bc)
echo "MILESTONE_TITLE: ${MILESTONE_TITLE}"
echo "::set-output name=milestone_title::${MILESTONE_TITLE}"
MILESTONE_NUMBER=$(echo ${JSON_DATA} | jq ".repository.refs.edges[] | select( .node.name == \"${MILESTONE_TITLE}\" ) | .node.number")
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")
Expand Down

0 comments on commit 1c5bd1a

Please sign in to comment.