From d91ac0e23c94f86d7a4520f75e80280007f167a9 Mon Sep 17 00:00:00 2001 From: gersoctruda <116814397+gersoctruda@users.noreply.github.com> Date: Thu, 17 Jul 2025 17:08:10 +0300 Subject: [PATCH] Update prettier.yml --- .github/workflows/prettier.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 884fbd7..f2ffb80 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -15,9 +15,12 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} + fetch-depth: 2 - name: Checkout if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next' uses: actions/checkout@v4 + with: + fetch-depth: 2 - name: Prettify code if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next'