Skip to content

Commit 46d1af6

Browse files
authored
Merge pull request #135 from WyriHaximus/checkout-v3-with-fetch-depth-0-for-set-milestone-on-pr
checkout v3 with fetch-depth 0 for set-milestone-on-pr
2 parents 6a25017 + 7a3b10b commit 46d1af6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/set-milestone-on-pr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
check: ${{ steps.generate-checks-strategy.outputs.check }}
2323
steps:
2424
- uses: actions/checkout@v3
25+
with:
26+
fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags
2527
- name: 'Get Previous tag'
2628
id: previoustag
2729
uses: "WyriHaximus/github-action-get-previous-tag@v1"

0 commit comments

Comments
 (0)