From c72ea329d074d287d69bb8f11f564ade8902f6bd Mon Sep 17 00:00:00 2001 From: Harry <14015057+HarryVasanth@users.noreply.github.com> Date: Tue, 20 Feb 2024 11:13:48 +0000 Subject: [PATCH] fix(ci/cd): remove `python` and `sh` --- .github/workflows/format-codebase.yml | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/.github/workflows/format-codebase.yml b/.github/workflows/format-codebase.yml index 69595aa..eba0332 100644 --- a/.github/workflows/format-codebase.yml +++ b/.github/workflows/format-codebase.yml @@ -20,25 +20,7 @@ jobs: - name: 💄 Run Prettier uses: creyD/prettier_action@v4.3 with: - prettier_options: --write **/*.{js,md,yml,sh,html,css} - prettier_plugins: "prettier-plugin-sh" + prettier_options: --write **/*.{js,md,yml,html,css} commit_message: "chore(codebase): format with prettier" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: 🐍 Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.10" - - - name: 🖤 Format code with black - run: | - git config --global user.email "hello@harryvasanth.com" - git config --global user.name "HarryVasanth" - pip install black - black . --verbose - git add . - - - name: 📎 Push changes - run: | - git diff-index --quiet HEAD || git commit -m "chore(codebase): format with black" && git push || echo "No changes" && exit