Skip to content

Commit 4520762

Browse files
author
Petr Sramek
committed
added checkout
1 parent b3f5147 commit 4520762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/format-cs-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: dotnet tool install -g dotnet-format
4040
- name: Format with .NET ${{ vars.DOTNET_SDK_VERSION }}
4141
run: |
42-
git pull origin ${{ github.head_ref || github.ref }}
42+
git checkout origin ${{ github.head_ref || github.ref }}
4343
dotnet format whitespace --verbosity diagnostic
4444
dotnet format style --verbosity diagnostic
4545
dotnet format analyzers --diagnostics IDE0073 --verbosity diagnostic

0 commit comments

Comments
 (0)