Skip to content
Permalink
Browse files

[github] auto milestone, fix number

  • Loading branch information
3nids committed Jan 10, 2020
1 parent 83951a4 commit 3304284266bd6f0c4f711b80710ff330e0967f5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 .github/workflows/pr-auto-milestone.yml
@@ -120,7 +120,7 @@ jobs:
id: compute_milestone
if: always() && steps.extract_data.outputs.has_milestone_to_set == 1
env:
MILESTONE_NUMBER_EXISTING: ${{ steps.calculate_milestone.outputs.milestone_number }}
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' ))

0 comments on commit 3304284

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