Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Disabled knowledge base sources:
WalkthroughGitHub Actions 워크플로우가 커밋-감지 출력을 Changes
Sequence Diagram(s)sequenceDiagram
participant Workflow as Workflow
participant Git as Git (local)
participant GH as GitHub CLI / GitHub
participant Slack as Slack
Workflow->>Git: detect local commits & attempt commit
Git-->>Workflow: commit made? (`doc_changes`)
Workflow->>GH: gh pr list --head BRANCH_NAME
GH-->>Workflow: open PR URL? (sets `needs_pr` based on result and branch ahead check)
alt doc_changes || needs_pr
Workflow->>GH: create or update PR
GH-->>Workflow: return PR URL
Workflow->>Slack: send notification with PR URL
else
Workflow-->>Workflow: no PR or notification
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/generate-docs-pr.yml:
- Around line 116-126: The EXISTING_PR check using `gh pr view -H
"$BRANCH_NAME"` fails because `gh pr view` doesn't support `-H`; replace that
invocation in the EXISTING_PR assignment with a `gh pr list` call that filters
by head branch and returns the first open PR URL (e.g., use `gh pr list --head
"$BRANCH_NAME" --state open --json url --jq '.[0].url // ""'`) so EXISTING_PR is
correctly set when a PR exists; keep the surrounding logic that writes needs_pr
to GITHUB_OUTPUT unchanged and remove the stderr suppression that hid the
failure.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 57bd3e9f-089c-4fb7-969f-1ceb1303d2c6
📒 Files selected for processing (1)
.github/workflows/generate-docs-pr.yml
개요
수정사항
Summary by CodeRabbit