Skip to content

Add a spell-check action.#248

Merged
comfyui-wiki merged 14 commits intomainfrom
add-a-spell-check-action
Apr 22, 2026
Merged

Add a spell-check action.#248
comfyui-wiki merged 14 commits intomainfrom
add-a-spell-check-action

Conversation

@comfyui-wiki
Copy link
Copy Markdown
Member

No description provided.

- Updated spellcheck.yml to improve extraction of widgets_values from MarkdownNote and Note nodes.
- Expanded wordlist with additional terms for spellchecking.
- Modified extract_workflow_text.py to filter out empty strings and changed the output format to include a separator for better readability.
comfyui-wiki and others added 3 commits April 22, 2026 01:02
…text from JSON files

- Removed unnecessary Markdown and JSON spellcheck configurations from `.spellcheck.yml`.
- Added a new Python script (`extract_workflow_text.py`) to extract text from MarkdownNote and Note nodes in workflow JSON files for spellchecking.
- Updated GitHub Actions workflow to include a new job for spellchecking extracted notes from workflow JSON files.
- Fixed various typos in template files, including correcting "Tuotrial" to "Tutorial" and other minor adjustments for consistency.
@github-actions
Copy link
Copy Markdown
Contributor

Upload JSON updated - 509 assets

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

⚠️ Package Size Warning — Approaching PyPI 100 MB Limit

One or more packages are approaching (≥85 MB) the PyPI 100 MB per-file upload limit.
Consider moving some templates to a different bundle before this reaches the limit.

Package Estimated Size Limit Status
comfyui-workflow-templates-media-api 75.8 MB 100 MB 🟢 OK
comfyui-workflow-templates-media-image 75.1 MB 100 MB 🟢 OK
comfyui-workflow-templates-media-video 88.3 MB 100 MB 🟡 WARNING
comfyui-workflow-templates-media-other 46.7 MB 100 MB 🟢 OK

Thresholds: 🟡 ≥85 MB (warning) · 🔴 ≥95 MB (critical) · Limit: 100 MB

Sizes are measured from the synced package source directories. Actual sdist/wheel may differ slightly.

- Updated the GitHub Actions workflow to utilize Python for spellchecking.
- Added steps to install necessary dependencies and run spellcheck using `pyspelling`.
- Implemented output handling to capture and report spellcheck results and errors.
- Introduced a new job to post spellcheck results as comments on pull requests, improving visibility of spellcheck outcomes.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

🚀 Preview deployed: https://workflow-templates-3rpukuuka-comfyui.vercel.app

… file handling

- Added an option to specify specific JSON files for extraction in `extract_workflow_text.py`.
- Updated the spellcheck workflow to handle changes in pull requests, extracting notes only from modified workflow files.
- Improved the installation step to include additional dependencies for spellchecking.
…date spellcheck workflow

- Improved the functionality of `extract_workflow_text.py` to better handle JSON file extraction.
- Enhanced the spellcheck workflow to ensure it accurately processes changes in pull requests, focusing on modified workflow files.
- Updated installation steps to include necessary dependencies for the spellcheck process.
@Comfy-Org Comfy-Org deleted a comment from github-actions Bot Apr 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

🔤 Spellcheck Results

Check Status
templates/index.json (titles & descriptions) ✅ No issues found
Workflow JSON notes (MarkdownNote / Note nodes) ✅ No issues found
scripts/i18n.json (English fields) ✅ No issues found

All spellchecks passed! 🎉

- Corrected spelling errors in bundle names within `bundles.json`.
- Added a new job in the spellcheck workflow to check English fields in `scripts/i18n.json`.
- Updated the spellcheck results reporting to include i18n.json status in pull request comments.
@comfyui-wiki comfyui-wiki merged commit 3caf2b4 into main Apr 22, 2026
16 checks passed
@comfyui-wiki comfyui-wiki deleted the add-a-spell-check-action branch April 22, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants