Update prettier.yml
parent
8b0af75867
commit
43d5c29f44
|
@ -15,9 +15,11 @@ 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
|
||||||
|
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