Repository navigation
Fix preview workflow github-token fallback - #206
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
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 (1)
📝 WalkthroughWalkthroughUpdated GitHub workflow configuration to conditionally use a fallback GitHub token in the preview deployment process. The Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
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 |
|
🔎 Preview deployed: https://kody-pr-206.kentcdodds.workers.dev Worker: Mocks:
|
Summary
github-tokenfall back to${{ github.token }}whenPREVIEW_ENVIRONMENT_ADMIN_TOKENis unsethasAdminTokenguard so the workflow now reaches the intended actionable error message instead of failing during action initializationTesting
git diff --checkpythonYAML parse and expression spot-check for the updatedgithub-tokenfieldactions/github-script@v8.0.0source thatgithub-tokenis required before the script body runsSummary by CodeRabbit