Repository navigation
ci(commitperclip): remove the security gate that filed a draft advisory per PR - #11828
Merged
aaymeloglu merged 2 commits intoAug 21, 2026
Merged
Conversation
…ry per PR check-pr-security.mjs created one draft security advisory for every PR that tripped a heuristic — any test touching fetch(), any change under a sensitive route file, any `key: "<20+ chars>"` string. That produced ~1,560 bot-authored drafts in the repository's advisory list, burying the human-reported ones. Nothing consumed the drafts or the `security-review` check run it also posted, and master has no required status checks, so the gate had no reader. Removes the script, its tests, the workflow step, and the `security-events: write` permission only that step used. The quality gates and Dependency Review are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HitAcRu3NW5YDeBxXxePi
aaymeloglu
requested review from
cryppadotta,
devinfoley and
nickyleach
as code owners
August 21, 2026 00:51
Contributor
Greptile SummaryThe PR removes the noisy, non-blocking security-advisory gate while retaining the existing quality and dependency checks.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| .github/scripts/check-pr-security.mjs | Deletes the heuristic scanner, draft-advisory synchronization, and informational check-run implementation as intended. |
| .github/scripts/tests/check-pr-security.test.mjs | Removes tests exclusively covering the deleted security-check script. |
| .github/workflows/commitperclip-review.yml | Removes the security-gate step and its now-unused permission while preserving dependency review and quality gates. |
| docs/adapters/codex-local.md | Replaces the stale CI-gate reference with a maintainer-review requirement, resolving the previous documentation finding. |
Reviews (2): Last reviewed commit: "docs(codex-local): point the auth-warnin..." | Re-trigger Greptile
… review The `security-review` CI gate it named no longer exists. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HitAcRu3NW5YDeBxXxePi
11 of 14 tasks
11 of 14 tasks
15 of 18 tasks
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.
Thinking Path
Linked Issues or Issue Description
Problem:
check-pr-security.mjsfiles a draft security advisory for nearly every PR, flooding the repository's advisory list with bot-authored noise that no one reads. Human-reported advisories intriagestate are buried among ~1,560🚨 Security flag — PR #NNNNdrafts.Expected: the advisory list contains only real vulnerability reports. Heuristic PR checks, if wanted at all, do not create disclosure records.
What Changed
.github/scripts/check-pr-security.mjsand.github/scripts/tests/check-pr-security.test.mjs.Run security gatesstep from.github/workflows/commitperclip-review.yml, and thesecurity-events: writepermission that only it used.resolveBaseReflives incheck-pr-dependencies.mjsand stays).Verification
node --test .github/scripts/tests/*.test.mjs→ 114 pass, 0 fail.grep -rn check-pr-security .github→ no remaining references.Risks
security-reviewcheck run, neither of which is consumed by code or branch protection.security_advisories: writefrom the commitperclip App's permissions so no workflow can recreate this.Model Used
Claude Fable 5 (claude-fable-5) via Claude Code, with tool use: GitHub API reads, file edits, local test runs.
Checklist
Fixes: #/Closes #/Refs #OR (b) described the issue in-PR following the relevant issue template🤖 Generated with Claude Code
https://claude.ai/code/session_016HitAcRu3NW5YDeBxXxePi