mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-08-22 19:38:36 +00:00
Update prettier.yml
This commit is contained in:
parent
673780fd23
commit
d91ac0e23c
3
.github/workflows/prettier.yml
vendored
3
.github/workflows/prettier.yml
vendored
@ -15,9 +15,12 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
fetch-depth: 2
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next'
|
if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: Prettify code
|
- name: Prettify code
|
||||||
if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next'
|
if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next'
|
||||||
|
Loading…
Reference in New Issue
Block a user