fix(drive): use docs secure label read scope - #1281
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR updates the OAuth scope constant used by the secure label listing shortcut from ChangesSecure Label OAuth Scope Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@a27b8fa7e3a06312f4eca7fbd1b4f7e21aa005bb🧩 Skill updatenpx skills add larksuite/cli#fix/secure_scope -y -g |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1281 +/- ##
=======================================
Coverage 70.17% 70.17%
=======================================
Files 671 671
Lines 65329 65329
=======================================
+ Hits 45843 45845 +2
+ Misses 15796 15795 -1
+ Partials 3690 3689 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Update the Drive secure label list shortcut to request the correct read scope,
docs:secure_label:readonly, so auth scope checks match the secure label API requirement.Changes
docs:secure_label:readonlyTest Plan
lark-cli drive +secure-label-listflow works as expectedNot run locally.
Related Issues
Summary by CodeRabbit
Release Notes
Bug Fixes
Tests