Skip to content

Conversation

anton-yurchenko
Copy link
Owner

Summary

  • add BodyTemplate configuration and new GetBody helper
  • wire up release body creation in main
  • support templated release bodies in release package
  • document BODY_TEMPLATE and show example usage
  • test new body logic

Testing

  • go test ./...

https://chatgpt.com/codex/tasks/task_b_6841efe5834083318d93d43cd7d881ed

@Copilot Copilot AI review requested due to automatic review settings June 5, 2025 19:49
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds release body templating support to allow users to customize release bodies using templates. Key changes include:

  • Adding a new Body field in the Release struct and updating its handling in publishing logic.
  • Implementing a GetBody helper in the configuration to parse a templated release body.
  • Updating tests and documentation to include and verify templated release bodies.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
release/release_test.go Updated test cases with new Body field for release creation mocks.
release/release.go Updated release publishing to use the new Body field.
release/modal.go Extended the Release struct to include a Body field.
main.go Integrated GetBody call to generate the release body before publishing.
docs/example.md Added documentation example for using a release body template.
config_test.go Added tests to verify the behavior of the GetBody helper function.
config.go Added a BodyTemplate field and implemented the GetBody templating.
README.md Documented the new BODY_TEMPLATE environment variable.

@github-actions github-actions bot added the stale Inactive issue or pull request label Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codex stale Inactive issue or pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant