ci: deploy docs after releases - #654
Conversation
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Walkthrough新增文档部署工作流,支持发布完成和手动触发;同时将部署脚本的构建环境变量从 Changes文档部署
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install timed out. The project may have too many dependencies for the sandbox. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
React Doctor could not complete this scan.
Reviewed by React Doctor for commit |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #654 +/- ##
=======================================
Coverage 99.39% 99.39%
=======================================
Files 22 22
Lines 661 661
Branches 204 203 -1
=======================================
Hits 657 657
Misses 4 4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
❌ Deploy failed
📋 Build log (last lines)🤖 Powered by surge-preview |
|||||||||
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/deploy-pages.yml:
- Line 15: 将 deploy-pages.yml 中可复用工作流的 uses 引用从 `@main` 更新为经过审核的不可变 commit
SHA,保留现有工作流路径不变,确保后续上游逻辑变化必须通过显式 SHA 更新引入。
🪄 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 Plus
Run ID: a7dcc7ab-e95f-4a49-bd5e-2e5a0ed8497c
📒 Files selected for processing (2)
.github/workflows/deploy-pages.ymlpackage.json
|
|
||
| jobs: | ||
| deploy: | ||
| uses: react-component/rc-test/.github/workflows/deploy-pages.yml@main |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
git ls-remote https://github.com/react-component/rc-test.git refs/heads/mainRepository: react-component/cascader
Length of output: 219
将可复用工作流固定到不可变提交 SHA。
当前使用 @main,上游分支变化会在不更新本仓库的情况下改变 Pages 和 OIDC 部署逻辑。请将 react-component/rc-test/.github/workflows/deploy-pages.yml@main 替换为经过审核的 commit SHA,并在后续显式更新。
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/deploy-pages.yml at line 15, 将 deploy-pages.yml 中可复用工作流的
uses 引用从 `@main` 更新为经过审核的不可变 commit SHA,保留现有工作流路径不变,确保后续上游逻辑变化必须通过显式 SHA 更新引入。
Source: Learnings

Summary
react-component/rc-testVerification
GH_PAGES=1 ut run buildSummary by CodeRabbit