Skip to content

Commit

Permalink
Fetch all commits/branches/tag (#2210)
Browse files Browse the repository at this point in the history
Resolves error "fatal: No names found, cannot describe anything." when tags not being found in a shallow git clone
  • Loading branch information
paul-dingemans authored Aug 26, 2023
1 parent d3e449d commit 506d939
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ jobs:
if: github.repository == 'pinterest/ktlint'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # fetch all commits/branches/tags

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 19

- uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true
Expand Down

0 comments on commit 506d939

Please sign in to comment.