Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Streamline comment output for the target-branch workflow and add Chinese (#16918)

Jeffrey Chene7621b7a5f93
diff --git a/.github/workflows/target-branch.yml b/.github/workflows/target-branch.yml
index e644c8305c..78b5a0ce0c 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