Skip to content

ci: fix React Doctor workflow - #378

Merged
zombieJ merged 1 commit into
masterfrom
fix/react-doctor-workflow-v2.2.8
Jul 31, 2026
Merged

ci: fix React Doctor workflow#378
zombieJ merged 1 commit into
masterfrom
fix/react-doctor-workflow-v2.2.8

Conversation

@yoyo837

@yoyo837 yoyo837 commented Jul 31, 2026

Copy link
Copy Markdown
Member
  • add push trigger for the default branch
  • grant issues: write and statuses: write permissions
  • fetch full Git history (fetch-depth: 0)
  • update action pin to v2.2.8
  • remove obsolete github-token input where applicable

Context

react-component/table#1503

Summary by CodeRabbit

  • 工程改进
    • React Doctor 检查现已支持在 master 分支推送时自动运行。
    • 优化了代码检查流程的权限配置和历史记录获取,提升检查结果的完整性与可靠性。

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
virtual-list Ready Ready Preview Jul 31, 2026 9:54am

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 627d91b0-e7e5-4c32-bc55-8079a0820f1b

📥 Commits

Reviewing files that changed from the base of the PR and between 3be0ab1 and e3421f4.

📒 Files selected for processing (1)
  • .github/workflows/react-doctor.yml

Walkthrough

React Doctor 工作流现在响应 master 分支 push 事件,并使用写权限、完整 Git 历史和新的 action 提交版本。

Changes

React Doctor 工作流

Layer / File(s) Summary
工作流触发与执行配置
.github/workflows/react-doctor.yml
工作流新增 master 分支 push 触发,并启用 issues: writestatuses: write 权限。Checkout 获取完整 Git 历史。React Doctor action 更新至提交 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2

Estimated code review effort: 2 (Simple) | ~10 minutes

Poem

我是小兔,蹦过 master 分支,
React Doctor 便开始工作。
历史完整,权限写好,
新提交稳稳落地。
胡萝卜也为流水线鼓掌! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题准确概括了 React Doctor 工作流的 CI 修复,且与变更内容直接相关。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/react-doctor-workflow-v2.2.8

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jul 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.60%. Comparing base (3be0ab1) to head (e3421f4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #378   +/-   ##
=======================================
  Coverage   97.60%   97.60%           
=======================================
  Files          19       19           
  Lines         836      836           
  Branches      207      209    +2     
=======================================
  Hits          816      816           
  Misses         20       20           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown

❌ Deploy failed

PR preview ❌ Failed ❌ Failed
🔗 Preview https://react-component-virtual-list-preview-pr-378.surge.sh (may be unavailable)
📝 Commite3421f4
🪵 LogsView logs
📋 Build log (last lines)
npm error
npm error Could not resolve dependency:
npm error peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error node_modules/eslint-plugin-react
npm error   dev eslint-plugin-react@"^7.37.5" from the root project
npm error   eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error   node_modules/@umijs/fabric
npm error     @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error     node_modules/rc-test
npm error       dev rc-test@"^7.1.3" from the root project
npm error
npm error Conflicting peer dependency: eslint@9.39.5
npm error node_modules/eslint
npm error   peer eslint@"^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" from eslint-plugin-react@7.37.5
npm error   node_modules/eslint-plugin-react
npm error     dev eslint-plugin-react@"^7.37.5" from the root project
npm error     eslint-plugin-react@"^7.32.2" from @umijs/fabric@4.0.1
npm error     node_modules/@umijs/fabric
npm error       @umijs/fabric@"^4.0.0" from rc-test@7.1.3
npm error       node_modules/rc-test
npm error         dev rc-test@"^7.1.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2026-07-31T09_45_36_304Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-07-31T09_45_36_304Z-debug-0.log

🤖 Powered by surge-preview

@zombieJ
zombieJ merged commit a573364 into master Jul 31, 2026
13 checks passed
@zombieJ
zombieJ deleted the fix/react-doctor-workflow-v2.2.8 branch July 31, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants