Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 17 Jan 22:14
· 12 commits to main since this release
ce4aac7

🚀 [Feature]: Add PR-based release notes settings (#5)

The settings action now supports three new configuration options that control how GitHub release notes are generated from pull requests.

New settings schema

The following settings are now available in the Publish.Module section of your .github/PSModule.yml:

Setting Type Default Description
UsePRTitleAsReleaseName boolean false Use pull request title as the GitHub release name
UsePRBodyAsReleaseNotes boolean true Use pull request body as the release notes content
UsePRTitleAsNotesHeading boolean true Add pull request title as H1 heading in release notes

Schema changes

The JSON schema in scripts/Settings.schema.json has been updated to include the new properties with proper type definitions and descriptions.

Default values

The scripts/main.ps1 file now outputs these settings with sensible defaults:

  • UsePRTitleAsReleaseName: false (release name uses version tag)
  • UsePRBodyAsReleaseNotes: true (PR body becomes release notes)
  • UsePRTitleAsNotesHeading: true (PR title appears as heading with PR link)