File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,17 +39,18 @@ jobs:
39
39
run : dotnet tool install -g dotnet-format
40
40
- name : Format with .NET ${{ vars.DOTNET_SDK_VERSION }}
41
41
run : |
42
+ git pull origin ${{ github.ref }}
42
43
dotnet format whitespace --verbosity diagnostic
43
44
dotnet format style --verbosity diagnostic
44
45
dotnet format analyzers --diagnostics IDE0073 --verbosity diagnostic
45
46
working-directory : ${{ github.workspace }}
46
47
- name : Push to ${{ github.ref }}
47
48
run : |
48
49
git config --global core.autocrlf false
49
- git pull origin ${{ github.ref }}
50
50
git add .
51
51
git config user.name "$(git log -n 1 --pretty=format:%an)"
52
52
git config user.email "$(git log -n 1 --pretty=format:%ae)"
53
53
git commit -m "applied file header rule"
54
+ git pull origin ${{ github.ref }}
54
55
git push origin ${{ github.ref }}
55
56
working-directory : ${{ github.workspace }}
You can’t perform that action at this time.
0 commit comments