Skip to content

Commit

Permalink
Merge pull request #16596 from hashicorp/workflow/fix-checkout-ref
Browse files Browse the repository at this point in the history
workflow/milestone: Specify master as checkout ref to ensure next milestone can be found
  • Loading branch information
breathingdust authored Dec 7, 2020
2 parents 64e459f + 74649fc commit b30a0f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/milestone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.base.ref }}
- id: get-current-milestone
run: |
echo ::set-output name=current_milestone::v$(head -1 CHANGELOG.md | cut -d " " -f 2)
Expand Down

0 comments on commit b30a0f4

Please sign in to comment.