diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d57e3a5..185597c 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@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - uses: actions/setup-node@v4 diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 76aa20c..a002cc9 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@v4 + uses: actions/checkout@v5 with: ref: ${{ github.head_ref }} - name: Checkout if: github.event.pull_request.head.repo.full_name != 'XTLS/Xray-docs-next' - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 2 - name: Prettify code