From 37ff95af1a08bf076a9585093b100498badfe463 Mon Sep 17 00:00:00 2001 From: Mayank Date: Wed, 1 Jan 2025 21:03:04 +0530 Subject: [PATCH] remove extra logs and try --deepen=1 --- .github/workflows/docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 511639ed..a3f9a6bc 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -20,8 +20,7 @@ jobs: - name: Check if package.json was modified id: pub run: | - git fetch && git checkout main - git diff --name-only ${{ github.event.before }} ${{ github.sha }} + git fetch --deepen=1 && git checkout main if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q "lib/package.json"; then echo "file_changed=true" >> $GITHUB_ENV else