Skip to content

Fix changelog title inference#46

Open
cotti wants to merge 1 commit intomainfrom
fix/changelog_title
Open

Fix changelog title inference#46
cotti wants to merge 1 commit intomainfrom
fix/changelog_title

Conversation

@cotti
Copy link
Copy Markdown
Contributor

@cotti cotti commented Mar 27, 2026

This pull request enhances the changelog GitHub Actions by ensuring the PR body and body change status are consistently captured and passed through the workflow, similar to how the PR title is handled. This improves the accuracy and flexibility of changelog automation, especially for workflows that depend on PR body content or need to detect changes to it.

Changelog Action Enhancements:

  • The PR body (PR_BODY) is now captured and passed as an output in both the fetch-pr-data.js script and the changelog/submit/action.yml workflow, ensuring downstream steps have access to the PR body. [1] [2]
  • The PR body is also made available in the changelog/validate/action.yml workflow, aligning it with how the PR title is handled.

Change Detection Improvements:

  • A new output (BODY_CHANGED) is added to detect if the PR body has changed, similar to the existing title change detection. This is then used to conditionally set a --body-changed flag in the validation script. [1] [2]

Changelog Metadata Passing:

  • The changelog submission workflow now passes the changelog description (CHANGELOG_DESCRIPTION) to downstream steps, ensuring all relevant metadata is available for changelog generation.

@cotti cotti self-assigned this Mar 27, 2026
@cotti cotti added the fix label Mar 27, 2026
@cotti cotti requested review from a team and reakaleek March 27, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant