Repository navigation
ci: refresh Context7 after a Release Please release - #40
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Limit details: You’ve used all 10 included reviews currently available. 📝 WalkthroughWalkthroughAdds a reusable GitHub Actions workflow that sends a refresh request to Context7. The workflow can run manually or after a release is created. ChangesContext7 refresh
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant ReleasePlease
participant Context7RefreshWorkflow
participant Context7
ReleasePlease->>Context7RefreshWorkflow: Invoke after release_created is true
Context7RefreshWorkflow->>Context7: POST repository name with bearer authentication
Merge Risk: ⚪ Minimal · up to The refresh is configured for manual use and release creation, and HTTP failures are surfaced. No material merge risk is established. Architecture SummaryArchitecture risk: 🔵 Low · up to The changed surface does not map to a changed system, dependency edge, entrypoint, or external dependency. Changed systems: None identified. Architecture concerns Review detailsBefore / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
.github/workflows/context7-refresh.ymlas a reusable and manually runnable workflow..github/workflows/release-please.ymlto request a Context7 refresh only when Release Please reportsrelease_created == 'true'. Ordinary pushes, docs-only merges, and release PR updates do not trigger an automatic refresh.workflow_dispatchso maintainers can manually update documentation between releases.POST /api/v1/refreshendpoint with library ID/uniskela/stack-manager, read-only repository permissions, and an explicitly passed Context7 API key (notsecrets: inherit).Required setup
/uniskela/stack-managerhas finished indexing on Context7 and is the correct library ID.CONTEXT7_API_KEYrepository Actions secret at Settings → Secrets and variables → Actions.Validation
release_createdcondition are retained.Reference: https://context7.com/docs/integrations/github-actions
Summary by CodeRabbit