From 4a349a3b45bdd64f963382731a93545f6a17e02a Mon Sep 17 00:00:00 2001 From: vladislav doster Date: Mon, 4 Oct 2021 04:26:36 -0500 Subject: [PATCH] fix(CI): CI bug fixed | docs: Added charity contribution link (#532) (#533) * fix: Fix stylua CI formatter | add charity link Update format.yml * chore: format with stylua Co-authored-by: Ashin Antony <83629316+ashincoder@users.noreply.github.com> Signed-off-by: Vladislav Doster Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .github/workflows/format.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 5a12f8a..cabf3cd 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -19,8 +19,8 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - if ! [[ -z $(git status -s) ]]; then - git commit --all -m "chore: format with stylua" init.lua lua/** + if [[ -n $(git status -s) ]]; then + git commit --all --message "chore: format with stylua" fi - name: Push changes uses: ad-m/github-push-action@master