ci: add workflow_dispatch trigger for python-review-caller#173
Merged
Conversation
Lets us manually re-run the Python SDK Review on a specific PR when the on-opened hook misses (GitHub Actions intermittent issues, transient 502/403 during review submission, etc.). Mirrors the manual pattern already used by tplus-services/security-audit-manual.yml. Author allowlist is bypassed on workflow_dispatch — repo write access is the gate for who can dispatch. Requires tpluslabs/claude-auditor#12 (reusable workflow's optional pr_number input) to be merged first. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.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.
Summary
workflow_dispatchtrigger (with requiredpr_numberinput) topython-review-caller.ymlso reviews can be manually re-fired when the on-opened hook misses or fails.pr_numberto the reusable workflow viawith:for both PR events and dispatch events.tplus-services/security-audit-manual.yml.Why
A handful of recent open PRs (including #172) never got a Python SDK review because the
pull_request: openedevent silently failed once and the workflow has no retry path. tplus-services solved this with a manual-dispatch workflow; this brings the same capability here.Dependency
Requires tpluslabs/claude-auditor#12 to be merged first (adds the optional
pr_numberinput to the reusable workflow). Until then, the dispatch path will fail at workflow validation.Test plan
🤖 Generated with Claude Code