ci: fix react-doctor workflow (bump action, drop phantom input)#795
Conversation
The millionco/react-doctor action declares no github-token input; its internal github-script steps use github.token automatically. Passing github-token is an unknown input, which the GitHub Actions language server flags as an error.
|
@aojunhao123 is attempting to deploy a commit to the afc163's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
WalkthroughReact Doctor 工作流更新为固定的 v2.2.7 提交引用,并移除显式传入的 GitHub Token 配置。 ChangesReact Doctor 工作流
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #795 +/- ##
=======================================
Coverage 86.42% 86.42%
=======================================
Files 39 39
Lines 1068 1068
Branches 373 373
=======================================
Hits 923 923
Misses 143 143
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
291572b to
e3f63f1
Compare
The action was pinned to v2.2.2 (0b4f4f4) but installs the CLI at
`version: latest`. react-doctor 0.7.5/0.7.6 bumped the JSON report
schemaVersion to 3; v2.2.2's ensure-json-report.mjs only accepts {1,2},
so it rejected every report, overwrote it with a synthetic error, and
exited 1 — failing the job on PRs regardless of scan results. v2.2.7
accepts schema 3.
|
@afc163 大佬帮忙 review 下 |
|
得 @zombieJ 来看报错日志。 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
其实没啥关系,主要是 Vercel 现在每个 repo 都要 first approve 一下 |
修一下红了的 ci,以及就是我感觉这个 vercel deploy 对 util 这种工具 lib 来说没必要,社区的 pr ci 不能全绿强迫症有点难受
Two fixes to
.github/workflows/react-doctor.yml.1. Bump the pinned action
v2.2.2→v2.2.7(fixes the failing check)2. Drop the unsupported
github-tokeninput🤖 Generated with Claude Code
Summary by CodeRabbit