diff --git a/.github/prompts/codex-pr-review.md b/.github/prompts/codex-pr-review.md index e85995e5..9726db10 100644 --- a/.github/prompts/codex-pr-review.md +++ b/.github/prompts/codex-pr-review.md @@ -28,7 +28,7 @@ Before any analysis, load PR metadata and diff from the GitHub Actions event pay ```bash pr_number=$(jq -r '.pull_request.number' "$GITHUB_EVENT_PATH") repo=$(jq -r '.repository.full_name' "$GITHUB_EVENT_PATH") -gh pr view "$pr_number" -R "$repo" --json number,title,body,labels,author,authorAssociation,additions,deletions,changedFiles,files +gh pr view "$pr_number" -R "$repo" --json number,title,body,labels,author,additions,deletions,changedFiles,files gh pr diff "$pr_number" -R "$repo" ``` diff --git a/.github/prompts/issue-auto-response.md b/.github/prompts/issue-auto-response.md index 4458f67c..eca3a2a5 100644 --- a/.github/prompts/issue-auto-response.md +++ b/.github/prompts/issue-auto-response.md @@ -26,7 +26,7 @@ Before any analysis, load the issue title/body/labels from the GitHub Actions ev ```bash issue_number=$(jq -r '.issue.number' "$GITHUB_EVENT_PATH") repo=$(jq -r '.repository.full_name' "$GITHUB_EVENT_PATH") -gh issue view "$issue_number" -R "$repo" --json number,title,body,labels,author,authorAssociation +gh issue view "$issue_number" -R "$repo" --json number,title,body,labels,author ``` If the issue body is empty or only whitespace, treat it as empty/spam and skip.