diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index baa3466..1bb72de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: fetch-depth: 1000 - name: Fetch base - run: git fetch origin ${{ github.event.pull_request.base.ref }} + run: git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1000 - name: Run tests run: | diff --git a/README.md b/README.md index 34a95e8..762da70 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ jobs: fetch-depth: 1000 # Set this according to the size of your git history - name: Fetch base - run: git fetch origin ${{ github.event.pull_request.base.ref }} + run: git fetch origin ${{ github.event.pull_request.base.ref }} --depth=1000 - name: Run tests run: npm run test