fix(ci): Remove env variable indirection for secrets in deploy-playground-to-cdn workflow#319
Conversation
Agent-Logs-Url: https://github.com/hexqi/tiny-robot/sessions/47bc92e6-7fda-4bfe-893c-24ddc6250ba1 Co-authored-by: hexqi <18585869+hexqi@users.noreply.github.com>
…cript Agent-Logs-Url: https://github.com/hexqi/tiny-robot/sessions/ef933941-a6d1-4319-a0be-8a8213658a88 Co-authored-by: hexqi <18585869+hexqi@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughRemoved workflow-level environment variables that exposed Huawei Cloud credentials to the job environment scope. Updated deployment commands to reference secrets directly via Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
📦 Package Previewpnpm add https://pkg.pr.new/@opentiny/tiny-robot@07e6831 pnpm add https://pkg.pr.new/@opentiny/tiny-robot-kit@07e6831 pnpm add https://pkg.pr.new/@opentiny/tiny-robot-svgs@07e6831 commit: 07e6831 |
🧹 Preview Cleaned UpThe preview deployment has been removed. |

Huawei Cloud credentials (
AK,SK,ENDPOINT,BUCKET) were being routed throughenv:blocks before use — first as workflow-level env, then as step-level env — adding unnecessary indirection and exposure surface.Changes
env:block from "Configure and Upload to OBS"${{ secrets.* }}at the point of useSummary by CodeRabbit