Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit ad7386a

Browse files
authored
Set fallback tag when getting previous tag
1 parent 478134c commit ad7386a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
- name: 'Get Previous tag'
1919
if: github.event.pull_request.milestone == null
2020
id: previoustag
21-
uses: "WyriHaximus/github-action-get-previous-tag@master"
22-
env:
23-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
21+
uses: "WyriHaximus/github-action-get-previous-tag@v1"
22+
with:
23+
fallback: 1.0.0
2424
- name: 'Get next minor version'
2525
if: github.event.pull_request.milestone == null
2626
id: semvers

0 commit comments

Comments
 (0)