From e7621b7a5f93a3c31478339720dff3dd116717a8 Mon Sep 17 00:00:00 2001 From: Jeffrey Chen <78434827+TCOTC@users.noreply.github.com> Date: Tue, 27 Jan 2026 12:47:48 +0800 Subject: [PATCH] :art: Streamline comment output for the target-branch workflow and add Chinese (#16918) --- .github/workflows/target-branch.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/target-branch.yml b/.github/workflows/target-branch.yml index e644c8305..78b5a0ce0 100644 --- a/.github/workflows/target-branch.yml +++ b/.github/workflows/target-branch.yml @@ -7,8 +7,10 @@ on: jobs: check-branch: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - - uses: Vankka/pr-target-branch-action@v2 + - uses: Vankka/pr-target-branch-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -16,5 +18,5 @@ jobs: exclude: dev change-to: dev comment: | - Your PR was set to target `master`, PRs should be target `dev` - The base branch of this PR has been automatically changed to `dev`, please check that there are no merge conflicts + The base branch of this PR has been automatically changed to `dev`, please check that there are no merge conflicts. + 此 PR 的基础分支已自动更改为 `dev`,请检查是否存在合并冲突。 \ No newline at end of file