Просмотр исходного кода

workflow: force fetch all tags in release action

Evan You 1 год назад
Родитель
Сommit
29e4a1109a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      .github/workflows/release.yml

+ 1 - 0
.github/workflows/release.yml

@@ -43,6 +43,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           ref: ${{ inputs.branch }}
+          fetch-depth: 0 # need this to get tags for changelog generation
 
       - name: Install pnpm
         uses: pnpm/action-setup@v4