From de141a29f330e96dc20fb5e0ed6b0b277c85fe4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 14:27:18 +0000 Subject: [PATCH 1/2] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 2 +- .github/workflows/prettier.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 From d7c00f04c6415f2471a3e54430c7fde28b40fccb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Tue, 12 Aug 2025 14:27:41 +0000 Subject: [PATCH 2/2] Prettified Code! --- docs/en/document/level-0/ch07-xray-server.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/en/document/level-0/ch07-xray-server.md b/docs/en/document/level-0/ch07-xray-server.md index d4100d2..2df3407 100644 --- a/docs/en/document/level-0/ch07-xray-server.md +++ b/docs/en/document/level-0/ch07-xray-server.md @@ -122,8 +122,7 @@ chmod +r ~/xray_cert/xray.key In addition, when recording animated images, the script did not include a command to restart `Xray` because `Xray` plans to support the [Certificate Hot Update] function, which means that `Xray` will automatically identify certificate updates and reload certificates without manual restart. After the function is added, I will modify `config.json` appropriately to enable this setting and delete the restart command in the script. - ::: - 4. Add [executable] permissions to this file + ::: 4. Add [executable] permissions to this file ``` chmod +x ~/xray_cert/xray-cert-renew.sh @@ -177,8 +176,7 @@ First, you can refer to the [official VLESS configuration example](https://githu ::: warning This location is not the standard log file location of `Xray`. It is placed here to avoid permission issues that cause trouble for new users. Once you are familiar with it, it is recommended to return to the default location: `/var/log/xray/access.log` and `/var/log/xray/error.log`. - ::: - 4. Because Xray is used by the nobody user by default, we need to allow other users to have "write" permissions (`*.log` means all files with the suffix `log`, and the efficiency advantage of the `CLI` interface gradually appears at this time) + ::: 4. Because Xray is used by the nobody user by default, we need to allow other users to have "write" permissions (`*.log` means all files with the suffix `log`, and the efficiency advantage of the `CLI` interface gradually appears at this time) ```shell chmod a+w ~/xray_log/*.log