Repository navigation
Flag pull requests that touch sensitive paths - #352
Merged
Merged
Conversation
Add .github/triage/sensitive-paths.txt and a read-only checker that lists the matching files in a PR, branch, or path list. The triage bot applies the new sensitive-paths label from it; CONTRIBUTING and the PR template say outside PRs may be re-implemented rather than merged; CLAUDE.md requires reporting matches before proposing to merge someone else's PR.
This was referenced Oct 16, 2026
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.
Summary
Makes outside pull requests cheap to review by flagging the ones that touch essential surfaces, and says plainly that a PR may be re-implemented rather than merged.
.github/triage/sensitive-paths.txtis the single list of sensitive paths, grouped by category: signing and entitlements, auth and credentials, the transcode profile, dependencies, CI and release tooling, App Store text, agent instructions (CLAUDE.md,AGENTS.md,.claude/,.codex/), and policies.scripts/check-sensitive-paths.pylists the matching files for a PR (--pr N), a branch (--base REF), or a list of paths. For PRs it also checks the old path of renamed files. It is read-only and never checks out PR code.sensitive-pathslabel has been created. Under BOT-POLICY the bot applies it and names the matched categories, without judging whether the change is safe. It never removes the label.docs/CONTRIBUTING.mdand the PR template: PRs are proposals. The maintainer may merge one or re-implement it with credit, and sensitive-path changes usually get re-implemented.CLAUDE.md: before proposing to merge someone else's PR, run the checker, report every match, and review those files line by line.GitHub Actions is disabled for this repo, and Woodpecker has no token that can label PRs, so the label is applied by the bot (or by hand), not by CI.
Linked issue
None. This is a follow-up to #348.
Affected surface
Verification evidence
scripts/ci-hygiene.shpasses locally: strict MkDocs build, link and Mermaid checks, tooling tests.Privacy checklist
AI assistance
Claude Opus via Claude Code wrote the change. The maintainer reviews it.