Skip to content

Commit

Permalink
Merge pull request #17202 from hashicorp/workflow/bump-milestone-action
Browse files Browse the repository at this point in the history
workflow/Fix milestone assignment when PR has multiple issues
  • Loading branch information
breathingdust authored Jan 21, 2021
2 parents cf228f1 + fa6a528 commit ae0e4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
echo ::set-output name=milestone_id::$(curl -H "Authorization: Bearer ${{secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/milestones | jq 'map(select(.title == "${{ steps.get-current-milestone.outputs.current_milestone }}"))[0].number')
- run: echo ${{ steps.get-milestone-id.outputs.milestone_id }}
- uses: breathingdust/current-milestone-action@v3
- uses: breathingdust/current-milestone-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pull_number: ${{ github.event.pull_request.number }}
Expand Down

0 comments on commit ae0e4d1

Please sign in to comment.