Tags: yuri-val/auto-pr-action
Tags
🐛 Fix multiline changelog parsing in GitHub release creation - 🔧 Updated the `Create or Update Base Release` step in auto-release workflow - 🔀 Added `env` section to properly handle multiline changelog - 📦 Used `toJSON` function to safely pass changelog content - 🔍 Changed changelog parsing from direct string to `JSON.parse(process.env.CHANGELOG)` - 🚀 This fix ensures that multiline changelogs are correctly processed - 💬 Prevents potential issues with special characters or line breaks in commit messages - 📊 Improves reliability of changelog display in GitHub releases This update addresses a potential issue where multiline changelogs might not be correctly parsed when creating or updating GitHub releases. By using `toJSON` and `JSON.parse`, we ensure that the full changelog content, including any special characters or line breaks, is accurately preserved and displayed in the release notes. This change complements the previous update to include full commit messages, ensuring that all commit information is properly captured and presented in the release documentation.
🚀 Update changelog generation to include full commit messages - 📝 Modified the `Generate changelog` step in the auto-release workflow - 🔄 Changed `git log` format from `%s` (subject only) to `%B` (full body) - 🧹 Added sed command to clean up trailing newlines - 💬 This change ensures that multiline commit messages are fully captured - 📊 Improves the detail and context provided in release changelogs - 🔍 Allows for better tracking of complex changes and feature additions These updates will provide more comprehensive and informative release notes, helping users and developers better understand the changes in each release. The full commit messages will now be visible, preserving important details that might have been omitted in the single-line format.
🚀 Enhance Auto PR action with improved metadata and error handling This commit brings significant improvements to our Auto PR action: 🔧 Updated action metadata: - Renamed action to "Auto PR: dev to main/master" for clarity - Improved description to better reflect the action's functionality - Updated author information ✨ Enhanced PR creation logic: - Added a check to compare commits between base and head branches - Implemented graceful handling when there are no commits to create a PR for These changes will make the action more robust and informative, reducing potential errors and improving overall user experience. The new commit comparison feature ensures we only create PRs when there are actual changes to review, streamlining our development workflow.
📚 Update README and action.yml with new OpenAI model input 🔧 This commit introduces the following changes: - Added a new input parameter `openai_model` to customize the OpenAI model used for generating PR descriptions - Updated the README to reflect the new input and its default value - Modified the `action.yml` file to incorporate the new `openai_model` parameter - Improved error handling for OpenAI API responses - Added a visual representation of the development workflow in the README - Included a new image file `dev_workflow_steps.png` in the `docs` folder These updates enhance the flexibility of the action by allowing users to specify their preferred OpenAI model. The README now provides a more comprehensive guide to the development workflow, making it easier for contributors to understand the project structure and processes.
🚀 Enhance auto-release workflow with base version tagging • 🔑 Added GitHub token to checkout action for improved permissions • 🏷️ Implemented creation and updating of base version tags • 🔄 Refactored release creation script for better readability and maintainability • 🐛 Fixed potential issues with tag names in release creation • 🧹 Removed unused file inclusion placeholder in full version release step These enhancements improve the robustness of the auto-release process by ensuring proper tagging of base versions and streamlining the release creation workflow. The changes also address potential permission issues and improve overall code quality.
🛠️ Enhance auto-release workflow with improved variable handling • 🔒 Added quotes to prevent potential issues with special characters in variables • 🔄 Updated release creation step to use `softprops/action-gh-release@v1` • 🐛 Fixed `release_id` reference in `updateRelease` function • 💡 Improved code readability with consistent string interpolation • 📦 Prepared structure for including files in the release (commented out for now) These changes enhance the reliability and flexibility of the auto-release workflow, ensuring better handling of variables and providing a more robust release creation process.
🛠️ Refactor PR creation to use environment variables This commit enhances the Pull Request creation process in our GitHub Action: - 📦 Introduces environment variables `PR_TITLE` and `PR_BODY` to store PR content - 🔄 Updates the action to use these environment variables instead of direct interpolation - 🐛 Fixes potential issues with escaping special characters in PR title and body - 🚀 Improves maintainability and reduces the risk of syntax errors These changes make our action more robust and easier to maintain. By using environment variables, we ensure that the PR title and body are properly handled, regardless of their content or length. This approach also simplifies debugging and allows for easier modifications in the future.
🚀 Add auto-release workflow for versioned releases 📦 This commit introduces a new GitHub Actions workflow for automatic releases: - ✨ Creates a new `.github/workflows/auto-release.yml` file - 🏷️ Triggers on push of version tags (v*) - 🔄 Generates changelog from commits since last tag - 📊 Creates/updates a base release for major versions - 🎉 Creates a full version release with detailed changelog - 🛠️ Updates `action.yml` to use bash shell for Git setup This automation streamlines the release process, ensuring consistent and informative releases for each new version of the project.
PreviousNext