Repository navigation
docs: 记录 docs-only 直推例外与 agent 的 GitHub 操作规则 - #818
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
AGENTS.md §7 早就写了"扫描结果以
gh pr checks为准",但实际执行时仍会出现两类偏差:favicon-failure标记,很容易被读成"有检查挂掉"。另外单独维护的场景下,纯文档改动也走 PR 的成本偏高,但它带来的安全性接近于零。
改动
dev—— 根目录*.md、docs/**(若出现)、无编译影响的注释/Javadoc。源码、测试、build.gradle、gradle/libs.versions.toml、native-image/元数据、.github/**一律仍走 PR。明确该例外只属于人类维护者,agent 即便是改一个 README 错字也要开 PR。gh pr checks/gh pr view --json statusCheckRollup/gh run list --branch,不要抓网页。masterwith jdbc:h2:~/test #812 到 [Bug] Boot 3/4 app with actuator fails to start when the primary datasource is missing #816 的真实过程说明"为了让上下文启动而加的配置"如何把缺陷藏起来。.github/copilot-instructions.md:同步压缩版(该文件头部要求与 AGENTS.md 保持一致)。需要维护者动作
§0.1 只有在
dev关闭enforce_admins后才真正可用(当前为enabled: true)。这属于仓库设置,本 PR 不改;main维持现状。验证
纯文档改动,
git diff --stat仅两个.md文件,无代码或构建变更,未运行./gradlew build。