Skip to content

Commit

Permalink
Merge pull request #15 from sidx1024/sid/remove-git-fetch-strategy
Browse files Browse the repository at this point in the history
Update fetch depth
  • Loading branch information
sidx1024 authored Mar 23, 2022
2 parents 5a80730 + d8d85f6 commit 25227bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25227bd

Please sign in to comment.