Skip to content

Commit

Permalink
remove extra logs and try --deepen=1
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jan 1, 2025
1 parent a2dd16f commit 37ff95a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37ff95a

Please sign in to comment.