Skip to content

Commit

Permalink
Add fetch depth on github actions as well
Browse files Browse the repository at this point in the history
  • Loading branch information
skylarnam committed Feb 22, 2023
1 parent 1dcbdf0 commit 2368899
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/actions-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.

- name: Install .NET Core SDK
uses: actions/setup-dotnet@v3
Expand Down
2 changes: 1 addition & 1 deletion vsts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ queue:

steps:
- checkout: self
fetchDepth: 0
fetchDepth: 0 # avoid shallow clone so nbgv can do its work.

- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
Expand Down

0 comments on commit 2368899

Please sign in to comment.