Skip to content

fix(pr-review): preserve optional review body argument - #1256

Open
github-actions[bot] wants to merge 3 commits into
mainfrom
fix-1254-pr-review-body-shift-6c3b2dab677fb03e
Open

fix(pr-review): preserve optional review body argument#1256
github-actions[bot] wants to merge 3 commits into
mainfrom
fix-1254-pr-review-body-shift-6c3b2dab677fb03e

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes claude-workflows/pr-review/scripts/pr-review.sh so the optional review body is not discarded.

The script was shifting positional arguments incorrectly:

  • before: shift 2>/dev/null || true
  • after: shift 1 2>/dev/null || true

With this change, the first argument (EVENT) is consumed and remaining arguments are preserved in BODY="$*", matching the documented usage pr-review.sh [review-body].

Closes #1254.

Validation

/tmp/gh-aw/agent/venv/bin/python -m pytest -q

Result: 53 passed.---
The body of this PR is automatically managed by the Trigger Update PR Body workflow.

github-actions Bot and others added 2 commits June 11, 2026 14:37
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@v1v
v1v marked this pull request as ready for review August 27, 2026 12:18
@github-actions github-actions Bot added the small_boom Small PR blast radius; usually low human-review need label Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

small_boom Small PR blast radius; usually low human-review need

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[text-auditor] Align pr-review.sh review-body text with actual argument handling

1 participant