Skip to content

Commit 520cd40

Browse files
authored
Automatically format and commit changes inside format.yml
1 parent 605ba36 commit 520cd40

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/format.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ jobs:
2424
uses: actions/checkout@v2
2525

2626
- name: Run dotnet format
27-
run: dotnet format '.\Source' --folder --check --verbosity diagnostic
27+
run: dotnet format '.\Source' --folder
28+
29+
- name: Commit
30+
uses: stefanzweifel/git-auto-commit-action@v4
31+
with:
32+
commit_message: Apply formatting fixes

0 commit comments

Comments
 (0)