docs(security): §4 条件 5 反链到 issue #158(台账 ↔ 人守载体双向可达) - #159
Merged
Merged
Conversation
ReSerendipity
enabled auto-merge (squash)
September 24, 2026 04:12
This was referenced Sep 25, 2026
ReSerendipity
added a commit
that referenced
this pull request
Sep 25, 2026
反面证据是实测的三条:#157 / #159 / #162 都只改 docs/,各触发一次 Build & Scan Image (22.6 / 22.6 / 22 分钟,见各自 main push 的 run 时长),而扫的镜像构建输入并没有变: .dockerignore 已把 docs、tests、.github 排除在上下文外,Dockerfile 的 COPY 面只有 pyproject.toml / requirements.txt / app/(第 54/55 行)与运行时那次 COPY . .(第 113 行)。 只放 docs/** 一条,刻意不收的三类: - README.md:pyproject 的 readme = "README.md" 会把它吃进 wheel 元数据,且它不在 .dockerignore 的排除列表里,改它确实改产物; - app/**、requirements*.txt、pyproject.toml、Dockerfile、.dockerignore、deploy/**: 全是构建输入; - .github/workflows/**:包括本文件自己,改门禁逻辑必须能跑到(本 PR 就是这样自证的)。 docker-publish.yml 这次没动:它的 on.push 同时含 branches:[main] 与 tags:["v*"], 而 paths 过滤在 tag push 上的语义我无法用本仓历史证实(RP 自己打的 tag 从不级联, 人工补的那条腿走 workflow_dispatch,本就不吃路径过滤)。要么单独确认过一次语义再加, 要么把它拆成两个 trigger 块——都属于要另外取证的动作,收益只有 21.8 分钟那一半。 Signed-off-by: ReSerendipity <ReSerendipity@users.noreply.github.com> Co-authored-by: ReSerendipity <ReSerendipity@users.noreply.github.com>
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.
授权范围内的单点收尾:
docs/SECURITY_DEPENDABOT_TRIAGE.md§4 复点条件 5 补两行,指向 #158。为什么只补这两行:pip-audit 不支持 expiration,所以 A1–A16 的到期显式再确认此前只有文档这一头,#158 那一头没指回判据出处。现在双向都通:#158 说明判据以 §1 表为准,本文说明人守载体是 #158。
范围:
git diff --stat= 1 file / +2 −0,只动 §4 条件 5 这一处;未改条件 1–5 的任何判据,未动security.yml的豁免集合,未碰 protobuf 的 P1/P2,未碰 #142/#145/#148/#149/#150。Refs: #158