Skip to content

BUG: Body not included when generateRleaseNotes is true, since the latest update #548

@omer2500

Description

@omer2500

Body parameter not working/not included when creating GitHub release

Describe the bug
Usually we could set generateReleaseNotes and body parameter together to create the release body

since the latest update it seems like if generateReleaseNotes set to true, it overwrites the body completely

To Reproduce
Steps to reproduce the behavior:

  1. Set up a GitHub workflow using this release action
  2. Provide a body input parameter with content (e.g., body: "My release notes")
  3. Run the workflow to create a release
  4. Observe that the release body is empty or not as expected

Expected behavior
body + release notes should be in body of the release

Actual behavior
The release is created but the body content is missing, empty, or not what was provided in the body parameter.

Configuration
Please share your workflow configuration:

- name: Create Release
  uses: ncipollo/release-action@v1
  with:
    tag: v1.0.0
    generateReleaseNotes: true
    body: "My release notes content"
    # other parameters...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions