diff --git a/.github/workflows/prettier-pr.yml b/.github/workflows/prettier-pr.yml new file mode 100644 index 00000000..f0e08085 --- /dev/null +++ b/.github/workflows/prettier-pr.yml @@ -0,0 +1,16 @@ +name: Prettier on pull requests + +on: + pull_request: + workflow_dispatch: + +jobs: + prettier: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + - uses: creyD/prettier_action@v4.3 + with: + dry: true