From 520cd400924b91bddeda6885efec38afbca80de7 Mon Sep 17 00:00:00 2001 From: Alex Guthrie Date: Fri, 10 Mar 2023 20:32:55 +0000 Subject: [PATCH] Automatically format and commit changes inside format.yml --- .github/workflows/format.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index a8b4e2d8..bcb651ea 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -24,4 +24,9 @@ jobs: uses: actions/checkout@v2 - name: Run dotnet format - run: dotnet format '.\Source' --folder --check --verbosity diagnostic + run: dotnet format '.\Source' --folder + + - name: Commit + uses: stefanzweifel/git-auto-commit-action@v4 + with: + commit_message: Apply formatting fixes