Skip to content

Commit

Permalink
[github] auto milestone, fix number
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 10, 2020
1 parent 83951a4 commit 3304284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-milestone.yml
Expand Up @@ -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' ))
Expand Down

0 comments on commit 3304284

Please sign in to comment.