File tree Expand file tree Collapse file tree 2 files changed +6
-64
lines changed Expand file tree Collapse file tree 2 files changed +6
-64
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -37,18 +37,14 @@ jobs:
37
37
dotnet format whitespace
38
38
dotnet format style
39
39
dotnet format analyzers --no-restore --diagnostics IDE0073 --verbosity diagnostic
40
- name: Apply file header rule
41
- working-directory: ${{ github.workspace }}
42
- - run : git add .
43
- name : Stage file header rule changes
40
+ name: Apply style formatting and file header rule
44
41
working-directory: ${{ github.workspace }}
45
42
- run : |
43
+ git add .
46
44
git config user.name "$(git log -n 1 --pretty=format:%an)"
47
45
git config user.email "$(git log -n 1 --pretty=format:%ae)"
48
- name: Set user and email from the last commit
49
- - run : git commit -m "applied file header rule"
50
- name : Commit file header rule changes
51
- working-directory : ${{ github.workspace }}
52
- - run : git push origin ${{ github.ref }}
53
- name : Push file header rule changes to ${{ github.ref }}
46
+ git commit -m "applied file header rule"
47
+ git pull origin ${{ github.ref }}
48
+ git push origin ${{ github.ref }}
49
+ name: Push style formatting and file header rule to ${{ github.ref }}
54
50
working-directory: ${{ github.workspace }}
You can’t perform that action at this time.
0 commit comments