0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

ci: use depth 0 in checkout to fetch all tags (#2785)

This commit is contained in:
Gao Sun 2022-12-30 14:20:42 +08:00 committed by GitHub
parent 1bbfd7e0f7
commit 0451de5024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,7 @@ jobs:
with: with:
# Set Git operations with the bot PAT since we have tag protection rule # Set Git operations with the bot PAT since we have tag protection rule
token: ${{ secrets.BOT_PAT }} token: ${{ secrets.BOT_PAT }}
fetch-depth: 0
- name: Setup Node and pnpm - name: Setup Node and pnpm
uses: silverhand-io/actions-node-pnpm-run-steps@v2 uses: silverhand-io/actions-node-pnpm-run-steps@v2