Update prettier.yml
parent
673780fd23
commit
d91ac0e23c
|
@ -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