ashlr

ashlr__pr_comment

Post a comment on a GitHub pull request. Wraps the gh CLI. Supports pr:"current" to resolve the PR from the current branch.

ashlr__pr_comment posts a comment on a GitHub pull request via the gh CLI.

Parameters

ParameterTypeRequiredDescription
prstring | numberyesPR number, or "current" to resolve from gh pr view.
bodystringyesComment body (Markdown supported).
repostringnoowner/repo format. Defaults to the current directory's origin remote.

Notes

  • pr: "current" resolves the PR via gh pr view using the current branch.
  • Requires gh CLI to be installed and authenticated.
  • No destructive operations — this tool cannot merge, close, or delete PRs.
  • Set ASHLR_REQUIRE_GH_CONFIRM=1 to require an explicit confirmation prompt before any GitHub write.

On this page