Repository navigation
feat(gh): refuse agent deployment review routes - #7571
Merged
Merged
Conversation
dan-petty
marked this pull request as ready for review
November 28, 2026 08:55
Owner
Author
Check resultsHead commit:
Skipped check: Trivy |
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 28, 2026
🤖 I have created a release *beep* *boop* --- ## [0.233.0](v0.232.11...v0.233.0) (2026-11-28) ### Features * **gh:** refuse agent deployment review routes ([#7571](#7571)) ([b3c8edf](b3c8edf)) ### Bug Fixes * **ci:** run Tests & Coverage in six balanced shards ([#7572](#7572)) ([e6f5026](e6f5026)), closes [#7550](#7550) * **roadmap:** freeze clock in alternatives gauge test ([#7584](#7584)) ([611de9d](611de9d)) * **roadmap:** the other rows leave out an item that left ([#7566](#7566)) ([97c4576](97c4576)) * **security:** set non-root securityContext on ollama-profiles fixture ([#7567](#7567)) ([53e5aaa](53e5aaa)) * **security:** skip .venv in TrivyConfigScanner ([#7570](#7570)) ([1502b93](1502b93)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@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.
Refuse agent callers on
POST repos/{owner}/{repo}/actions/runs/{run_id}/pending_deploymentsandPOST repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_ruleunder route classdeployment review, keeping person callers andGETreads allowed. UpdatedGHCommandHelp.api,SECURITY.md, regenerateddocs/commands/gh.mdanddocs/CLI_REFERENCE.md, and added unit and CLI guard tests.Checks:
uv run pytest tests/github/test_gh_api_agent_guard.py tests/commands/test_gh_cmd.py(145 passed)uv run devops openspec check, CI static gates (10/10), anddevops ci fail-to-pass --base origin/mainpassedCloses #7534
Change:
openspec/changes/archive/2026-11-28-7534-refuse-deployment-review/