fix(autodoc): address code review — Epic type, Bedrock model, step split#502
fix(autodoc): address code review — Epic type, Bedrock model, step split#502jdcmsd wants to merge 1 commit into
Conversation
- Replace label check for Epic with issue type check (github.event.issue.type.name)
- Update GraphQL parent lookup to use issueType { name } instead of labels
- Add id-token: write permission for Bedrock OIDC
- Replace npm install + claude --print with anthropics/claude-code-action@v1;
model and Bedrock role sourced from vars.BEDROCK_MODEL_ID / vars.BEDROCK_ROLE_ARN
- Split finalize into three discrete steps for easier auditing:
Post report comment / Apply doc update to dotCMS / Apply doc create to dotCMS
❌ Issue Linking RequiredThis PR could not be linked to an issue. All PRs must be linked to an issue for tracking purposes. How to fix this:Option 1: Add keyword to PR body (Recommended - auto-removes this comment)
Why is this required?Issue linking ensures proper tracking, documentation, and helps maintain project history. It connects your code changes to the problem they solve.--- This comment was automatically generated by the issue linking workflow |
|
Claude finished @jdcmsd's task in 1m 43s —— View job Autodoc analysis — complete
🟢 Rollback safety: Safe to RollbackThis PR modifies a single file —
The change is CI/CD-only (
📄 Doc Object Draft (attached to merge commit post-merge)---
commit: PLACEHOLDER_SHORT_SHA
title: "fix(autodoc): address code review — Epic type, Bedrock model, step split"
type: ci
module: "autodoc CI workflow (issue_autodoc.yml)"
customer_visible: no
security_relevant: false
breaking_change: false
pr:
primary: 502
release_notes:
audience: internal
priority: low
reasoning: "Internal CI workflow refactor with no customer-observable behavior change."
provenance:
generator: doc-object-skill
model: claude-opus-4-8-20251001
prompt_version: v0.1
generated_at: 2026-06-26T12:47:44Z
source_pr: 502
source_diff_sha: PLACEHOLDER_FULL_SHA
---What changedRefines the Risk / watchAdds |
Addresses Freddy's review comments on the autodoc workflow.
Changes
contains(...labels..., 'Epic')→github.event.issue.type.name == 'Epic'in both the job-levelifand theHAS_EPICenv var. GraphQL parent lookup updated fromlabels { nodes { name } }toissueType { name }.npm install -g @anthropic-ai/claude-code+claude --printwithanthropics/claude-code-action@v1. Model and Bedrock role read fromvars.BEDROCK_MODEL_ID/vars.BEDROCK_ROLE_ARNso they can be swapped without editing the workflow. Addedid-token: writepermission for OIDC.if: env.ACTION == '...'condition visible in the Actions UI.Notes
vars.BEDROCK_ROLE_ARNis unset, the action falls back to direct Anthropic API viasecrets.ANTHROPIC_API_KEY(existing behaviour unchanged).