Skip to content

Releases: yuri-val/auto-pr-action

Release v1.2.1

21 Oct 22:12
Compare
Choose a tag to compare

🐛 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.

📝 Refine action description for clarity and conciseness

🔍 This commit focuses on improving the readability and effectiveness of our Auto PR action's description:

  • Streamlined the action description to be more concise while retaining all key information
  • Maintained the clarity of purpose: automating PR creation, generating descriptions, and adding reviewers
  • Kept the emphasis on the action's core functionality: working with dev and main/master branches
  • Retained mention of OpenAI integration for description generation

This update enhances the action's presentation in the marketplace and documentation, making it easier for users to quickly understand the action's capabilities and purpose.

Release v1.1.1

21 Oct 21:58
Compare
Choose a tag to compare

Changes in this Release:

  • 🚀 Enhance Auto PR action with improved metadata and error handling

Base Release v1

18 Oct 19:51
Compare
Choose a tag to compare

This is the base release for v1. Latest version: v1.2.1

Changelog:

  • 🐛 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.

Release v1.1.0

19 Oct 12:43
Compare
Choose a tag to compare

Changes in this Release:

  • 📚 Update README and action.yml with new OpenAI model input
  • 📚 Create pull_request_template.md
  • 📚 Update feature_request.md
  • 📚 Update bug_report.md
  • 📚 Update issue templates
  • 🔐 Create SECURITY.md
  • 📚 Create CONTRIBUTING.md
  • 📚 Create CODE_OF_CONDUCT.md

Release v1.0.5

18 Oct 20:45
Compare
Choose a tag to compare

Changes in this Release:

  • 🚀 Enhance auto-release workflow with base version tagging

Release v1.0.4

18 Oct 20:25
Compare
Choose a tag to compare

Changes in this Release:

  • 🛠️ Enhance auto-release workflow with improved variable handling

Release v1.0.2

18 Oct 19:51
Compare
Choose a tag to compare

Changes in this Release:

  • 🚀 Add auto-release workflow for versioned releases

v1.0.1 📚 Update README with correct usage and example workflow

18 Oct 19:13
Compare
Choose a tag to compare

🔧 This release enhances the README documentation for the Auto PR Action:

  • 🔄 Updates the action usage example with the correct GitHub username (yuri-val)
  • ➕ Adds a comprehensive example workflow section
  • 🚀 Provides a ready-to-use .github/workflows/auto-pr.yml configuration
  • 🔑 Clarifies the use of PAT_TOKEN for authentication
  • 📝 Improves overall documentation structure and readability

These changes will help users quickly understand how to implement and configure the Auto PR Action in their projects, reducing potential setup issues and improving adoption.

v1.0.0 Auto PR from Dev to Default Branch

18 Oct 19:00
Compare
Choose a tag to compare

Auto PR from Dev to Default Branch GitHub Action. Here's what's included:

  • 📝 Added README.md with comprehensive project documentation
  • ⚙️ Created action.yml to define the GitHub Action workflow
  • 📜 Included MIT License for the project
  • 🙈 Set up .gitignore to exclude the diff/ directory

Key features of the GitHub Action:

  • 🔄 Automatically creates or updates PRs from dev to default branch
  • 🤖 Generates PR descriptions using OpenAI API
  • 👥 Adds relevant reviewers to the PR
  • 📅 Sets PR title with the current date

The action is configured to use OpenAI's API for generating descriptive PR content and includes steps for checking out the repository, setting up Git, determining the default branch, generating diffs, and managing pull requests.