Skip to content

Commit

Permalink
Merge pull request #49 from staabm/patch-1
Browse files Browse the repository at this point in the history
fetch tags instead of fetch-depth: 0
  • Loading branch information
WyriHaximus committed Dec 19, 2023
2 parents b95747c + a0f33a9 commit 5916541
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/checkout@v2.3.3
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/git-auto-commit-action@v4.5.1
with:
commit_message: 'fix(release): schedule release'
```
```

0 comments on commit 5916541

Please sign in to comment.