From 593e976d96333fc8185774a16fc0ccf47a1cba53 Mon Sep 17 00:00:00 2001 From: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> Date: Sun, 20 Jul 2025 21:35:09 -0400 Subject: [PATCH] Update prettier.yml --- .github/workflows/prettier.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 884fbd7..ec9ec74 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -11,20 +11,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next' uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - - name: Checkout - if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next' - uses: actions/checkout@v4 - - name: Prettify code if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next' uses: creyD/prettier_action@v4.6 with: prettier_options: --write **/*.{js,ts,md,vue} - - name: Prettify code + - name: Prettify code dry run if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next' uses: creyD/prettier_action@v4.6 with: