Skip to content

Write human review → issues Action #30

@jdelfino

Description

@jdelfino

Summary

GitHub Action that runs when a PR review is submitted, parses the review comments, and creates child issues for each finding.

Trigger

pull_request_review event with submitted action

Behavior

  1. Fetch all comments from the submitted review
  2. For each comment:
    • Parse severity from comment text (default: should-fix, or detect blocking/suggestion keywords)
    • Create a child issue under the PR's parent issue (parsed from Fixes #N)
    • Include file path and line number from the comment location
    • Add Fixes #<new-issue> to PR description
  3. If any blocking comments, set them as blocking the parent issue

Files to modify

  • .github/workflows/human-review.yml — new workflow file

Implementation notes

  • Use github.event.review.body for top-level review comment
  • Use gh api to fetch review comments: GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments
  • Reuse issue creation pattern from reviewer skills

Acceptance criteria

  • Action triggers on review submission
  • Creates child issues with file/line context
  • Adds Fixes references to PR
  • Blocking comments create blocking dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskImplementation work item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions