Update prettier.yml

pull/726/head
yuhan6665 2025-07-20 21:35:09 -04:00 committed by GitHub
parent be43e6cd7f
commit 593e976d96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -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: