diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 00000000..8b62c5b6 --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,17 @@ +name: autofix.ci +on: + pull_request: + push: +permissions: {} +jobs: + prettier: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - run: | + yarn + yarn prettier . --write + - uses: autofix-ci/action@v1 + with: + commit-message: "Apply Prettier format"