Skip to content
Permalink
Browse files

fix milestone creation

  • Loading branch information
3nids committed Mar 25, 2020
1 parent 1d74232 commit ba4893d985e0fbc3918c52004cd5ce170dcf6ec2
Showing with 1 addition and 1 deletion.
  1. +1 −1 .github/workflows/pr-auto-milestone.yml
@@ -124,7 +124,7 @@ jobs:
MILESTONE_NUMBER_EXISTING: ${{ steps.extract_data.outputs.milestone_number }}
MILESTONE_NUMBER_CREATED_JSON: ${{ steps.create_milestone.outputs.data }}
run: |
FINAL_MILESTONE_NUMBER=$([[ -n ${MILESTONE_NUMBER_EXISTING} ]] && echo "${MILESTONE_NUMBER_EXISTING}" || $(echo "${MILESTONE_NUMBER_CREATED_JSON}" | jq '.number' ))
FINAL_MILESTONE_NUMBER=$([[ -n ${MILESTONE_NUMBER_EXISTING} ]] && echo "${MILESTONE_NUMBER_EXISTING}" || $(echo "${MILESTONE_NUMBER_CREATED_JSON}" | jq .number ))
echo "FINAL_MILESTONE_NUMBER: ${FINAL_MILESTONE_NUMBER}"
echo "::set-output name=milestone_number::${FINAL_MILESTONE_NUMBER}"

0 comments on commit ba4893d

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