diff --git a/.github/workflows/action-prettier.yml b/.github/workflows/action-prettier.yml index ac745dcac8..f5d51a44ae 100644 --- a/.github/workflows/action-prettier.yml +++ b/.github/workflows/action-prettier.yml @@ -31,6 +31,6 @@ jobs: uses: creyD/prettier_action@v4.6 with: prettier_plugins: "prettier-plugin-sh prettier-plugin-jinja-template" - prettier_options: --check . + prettier_options: --write . github_token: ${{ secrets.GITHUB_TOKEN }} - no_commit: true + commit_message: "chore(prettier): format code" diff --git a/.prettierrc.json b/.prettierrc.json index eef7253d0f..02d542d509 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,3 +1,3 @@ { - "plugins": ["prettier-plugin-sh", "prettier-plugin-jinja-template"] + "plugins": ["prettier-plugin-sh"] }