Skip to content

Commit

Permalink
fetch tags instead of fetch-depth: 0
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Dec 18, 2023
1 parent b95747c commit a0f33a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/scheduled-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
previous-tag: ${{ steps.previoustag.outputs.tag }}
timestamp-diff: ${{ steps.diff.outputs.timestamp-diff }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: actions/checkout@v4
#▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼#
- run: git fetch --tags origin

- name: Get previous tag
id: previoustag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
Expand Down Expand Up @@ -62,4 +62,4 @@ jobs:
- uses: stefanzweifel/[email protected]
with:
commit_message: 'fix(release): schedule release'
```
```

0 comments on commit a0f33a9

Please sign in to comment.