From a2e9bce79876c4297bd7e41bca5af31a8d851953 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 14 Sep 2024 10:29:23 +0800 Subject: [PATCH] Test prettier action --- .github/workflows/prettier-pr.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/prettier-pr.yml 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