This commit updates the GitHub Actions workflow to install helper scripts directly from the repository, ensuring that the necessary scripts for managing documentation are available. The previous checkout step has been removed, and the installation process has been simplified to enhance clarity and maintainability.
This commit adds steps to the GitHub Actions workflow to restore and install helper scripts from the workflow commit. These scripts are essential for managing the documentation process, ensuring that the necessary tools are available for generating and updating release notes and version mappings.
This update simplifies the workflow by utilizing separate Python scripts for generating user-friendly release notes and managing the version mapping for ABP Studio. The previous inline scripts have been removed to enhance maintainability and clarity.
Updated the AI response handling and improved raw notes cleaning process. Enhanced version mapping table extraction and file writing to preserve all content.
Updated the workflow to save release notes to an environment variable instead of a temporary file. Adjusted validation and fallback mechanisms accordingly.
Replaces git diff logic with GitHub API to reliably detect added/modified markdown files in docs/en/ from merged PRs. Improves branch creation and file processing steps, ensuring only relevant files are handled for SEO updates.
Improved modularity and readability of add_seo_descriptions.py by refactoring functions, enhancing block handling, and adding statistics saving. Updated auto-add-seo.yml to correctly detect changed markdown files using PR head and base SHAs for more accurate file selection.
Moved the SEO description generation logic from an inline script in the GitHub Actions workflow to a dedicated Python script at .github/scripts/add_seo_descriptions.py. Updated the workflow to call this script directly, improving maintainability and readability.
This workflow automatically adds SEO descriptions to modified markdown files in the 'docs/en/' directory when a pull request is merged. It checks for existing descriptions, generates new ones using OpenAI, and commits the updates in a new branch.