Skip to content

Commit

Permalink
KX-11806 - Increase fetch depth
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertZ authored and RobertZ committed Mar 15, 2024
1 parent ceacbbd commit f8e369d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Get changed files in PR
if: github.event_name == 'pull_request'
run: |
git fetch origin ${{ github.base_ref }}:${{ github.base_ref }} --depth=1
git fetch origin ${{ github.base_ref }}:${{ github.base_ref }} --depth=0
$CHANGED_FILES = (git diff --name-only origin/${{ github.base_ref }} ${{ github.head_ref }}) -replace '\n',' '
echo "CHANGED_FILES=$CHANGED_FILES" | Out-File -Append -FilePath $Env:GITHUB_ENV
Expand All @@ -62,7 +62,7 @@ jobs:
if ($files.Length -eq 0) {
Write-Host "No relevant files have changed."
} else {
dotnet format WebApp.sln --include $files
dotnet format WebApp.sln --verify-no-changes include --verify$files
}
Expand Down

0 comments on commit f8e369d

Please sign in to comment.