diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e488cfa..be9a456 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 - uses: actions/setup-node@v6 diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index a002cc9..1164e7c 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -12,12 +12,12 @@ jobs: steps: - name: Checkout if: github.event.pull_request.head.repo.full_name == 'XTLS/Xray-docs-next' - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: ref: ${{ github.head_ref }} - name: Checkout if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next' - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 2 - name: Prettify code