-
Notifications
You must be signed in to change notification settings - Fork 3
fix(workflows): Fix Python script execution in sync-docs-from-node workflow #256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for genlayer-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Caution Review failedThe pull request is closed. WalkthroughThis update deletes the documentation file for the v0.3.4 validator release, introduces a standalone Python script to sanitize GenLayer node configuration files, and modifies a GitHub Actions workflow to use this external script instead of an inline Python command for YAML sanitization. Changes
Sequence Diagram(s)sequenceDiagram
participant Workflow
participant Script
participant ConfigFile
Workflow->>Script: Call sanitize-config.py with config.yaml
Script->>ConfigFile: Read config.yaml
Script->>ConfigFile: Remove node.dev and node.admin sections
Script->>ConfigFile: Write sanitized config.yaml
Script-->>Workflow: Return control
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…rkflow This PR fixes a critical issue in the sync-docs-from-node workflow where the Python script for sanitizing config files was failing due to an environment variable not being accessible. The inline Python code has been refactored into a standalone script that receives the config file path as a command-line argument.
6f44512 to
7103934
Compare
fix(workflows): Fix Python script execution in sync-docs-from-node workflow
Description
This PR fixes a critical issue in the sync-docs-from-node workflow where the Python script for sanitizing config files was failing due to an environment variable not being accessible. The inline Python code has been refactored into a standalone script that receives the config file path as a command-line argument.
Summary by CodeRabbit