Skip to content
Permalink
Browse files

[github] fix auto milestone bot

  • Loading branch information
3nids committed Jan 10, 2020
1 parent 0d3d28e commit 1c5bd1ad8f6a8c598db9e6162732b76997d11199
Showing with 1 addition and 1 deletion.
  1. +1 −1 .github/workflows/pr-auto-milestone.yml
@@ -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")

0 comments on commit 1c5bd1a

Please sign in to comment.
You can’t perform that action at this time.