Repository navigation
fix: stop invalid preview workflow validation - #147
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe workflow removes workflow-level environment permissions and adds token-based conditional logic to the cleanup job. The GitHub preview environment deletion now checks for token presence before attempting deletion, with the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
✨ 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 |
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Summary
environmentsworkflow permission frompreview.ymlPREVIEW_ENVIRONMENT_GITHUB_TOKENenvso the workflow remains schema-validTesting
.github/workflows/preview.ymlas YAML locally.github/workflows/preview.ymlwithactionlintpushrun forpreview.ymlpull_requestSummary by CodeRabbit