From fc593d03214e83b701673f7822954e2851e757e1 Mon Sep 17 00:00:00 2001 From: siduck Date: Tue, 7 Dec 2021 14:05:58 +0530 Subject: [PATCH] Delete format.yml --- .github/workflows/format.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/format.yml diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index cabf3cd..0000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: formatting -on: - push: - paths-ignore: - - ".github/**" - - "*.md" - branches: "**" - -jobs: - stylua: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: JohnnyMorganz/stylua-action@1.0.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --config-path=./.stylua.toml -g *.lua -g !lua/core/*.lua -g !lua/plugins/**/*.lua -g !lua/colors/*.lua -- . - - name: Commit files - run: | - git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - 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 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }}