Skip to content
Permalink
Browse files

fix command in milestone bot

  • Loading branch information
3nids committed Mar 25, 2020
1 parent ba4893d commit 30c9086ed625b5bb1c7b3bf87b248fa9366033db
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 $(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 30c9086

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