Skip to content

Commit

Permalink
Need more depth for Scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmypuckett committed Dec 5, 2022
1 parent 65d9bc2 commit af4728b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
# Fetch 10 commits or Scrutinizer will throw ("Failed to retrieve commit parents. If you use a shallow git checkout, please checkout at least a depth of one."), see: RepositoryIntrospector at scrutinizer-ci/ocular GitHub repository
# 10 commits is an arbitrary value that is more than 1 commit
fetch-depth: 10

- name: Cache dependencies
uses: actions/cache@v1
Expand Down

0 comments on commit af4728b

Please sign in to comment.