Title: 馃殌 [Feature]: Add PR Title and Description as Configurable Release Notes 路 Issue #263 路 PSModule/Process-PSModule 路 GitHub
Open Graph Title: 馃殌 [Feature]: Add PR Title and Description as Configurable Release Notes 路 Issue #263 路 PSModule/Process-PSModule
X Title: 馃殌 [Feature]: Add PR Title and Description as Configurable Release Notes 路 Issue #263 路 PSModule/Process-PSModule
Description: Describe the change Update the Process-PSModule workflow to use the pull request title and description as release notes, with configurable settings similar to PSModule/Auto-Release. Current Behavior The workflow currently uses GitHub's a...
Open Graph Description: Describe the change Update the Process-PSModule workflow to use the pull request title and description as release notes, with configurable settings similar to PSModule/Auto-Release. Current Behavio...
X Description: Describe the change Update the Process-PSModule workflow to use the pull request title and description as release notes, with configurable settings similar to PSModule/Auto-Release. Current Behavio...
Opengraph URL: https://github.com/PSModule/Process-PSModule/issues/263
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"馃殌 [Feature]: Add PR Title and Description as Configurable Release Notes","articleBody":"## Describe the change\n\nUpdate the Process-PSModule workflow to use the pull request title and description as release notes, with configurable settings similar to PSModule/Auto-Release.\n\n### Current Behavior\nThe workflow currently uses GitHub's auto-generated release notes when publishing modules. \n\n### Desired Behavior\n- Use the PR title as the release notes header\n- Use the PR description as the content following the header\n- Make this behavior configurable via `.github/PSModule. yml` settings file\n\n### Proposed Configuration Settings\n\nAdd these settings to the `Publish. Module` section in `.github/PSModule.yml`:\n\n```yaml\nPublish:\n Module: \n UsePRTitleAsReleaseName: false # Use PR title as the release name\n UsePRBodyAsReleaseNotes: true # Use PR body as release notes content\n UsePRTitleAsNotesHeading: true # Add PR title as H1 heading before body\n```\n\n### Reference Implementation (PSModule/Auto-Release)\n\nThe Auto-Release repository already implements this pattern: \n\n**Configuration loading** ([main.ps1#L48-L51](https://github.com/PSModule/Auto-Release/blob/eabd533035e2cb9822160f26f2eda584bd012356/scripts/main.ps1#L48-L51)):\n```powershell\n$usePRBodyAsReleaseNotes = ![string]::IsNullOrEmpty($configuration.UsePRBodyAsReleaseNotes) ? $configuration.UsePRBodyAsReleaseNotes -eq 'true' : $env: PSMODULE_AUTO_RELEASE_INPUT_UsePRBodyAsReleaseNotes -eq 'true'\n$usePRTitleAsReleaseName = ![string]::IsNullOrEmpty($configuration.UsePRTitleAsReleaseName) ? $configuration.UsePRTitleAsReleaseName -eq 'true' : $env: PSMODULE_AUTO_RELEASE_INPUT_UsePRTitleAsReleaseName -eq 'true'\n$usePRTitleAsNotesHeading = ![string]::IsNullOrEmpty($configuration.UsePRTitleAsNotesHeading) ? $configuration.UsePRTitleAsNotesHeading -eq 'true' : $env:PSMODULE_AUTO_RELEASE_INPUT_UsePRTitleAsNotesHeading -eq 'true'\n```\n\n**Release creation logic** ([main.ps1#L223-L279](https://github.com/PSModule/Auto-Release/blob/eabd533035e2cb9822160f26f2eda584bd012356/scripts/main.ps1#L223-L279)):\n```powershell\nif ($usePRTitleAsReleaseName) {\n $prTitle = $pull_request.title\n $releaseCreateCommand += @('--title', \"$prTitle\")\n}\n\n$notes = ''\nif ($usePRTitleAsNotesHeading) {\n $prTitle = $pull_request.title\n $prNumber = $pull_request.number\n $notes += \"# $prTitle (#$prNumber)`n`n\"\n}\nif ($usePRBodyAsReleaseNotes) {\n $prBody = $pull_request.body\n $notes += $prBody\n}\nif (-not [string]::IsNullOrWhiteSpace($notes)) {\n $releaseCreateCommand += @('--notes', $notes)\n} else {\n $releaseCreateCommand += '--generate-notes'\n}\n```\n\n### Implementation Steps\n\n1. **Check PSModule/Publish-PSModule action**: Verify if the action at `.github/workflows/Publish-Module.yml` already supports these parameters (it uses `PSModule/Publish-PSModule@6c25d139fe51b890f75c057897bd58ac344b192a`)\n\n2. **Update settings schema**: Add the three new settings to the configuration documentation in README.md under the `Publish. Module` section\n\n3. **Pass settings to action**: Update `.github/workflows/Publish-Module.yml` to pass these settings: \n ```yaml\n UsePRTitleAsReleaseName: ${{ fromJson(inputs.Settings).Publish.Module.UsePRTitleAsReleaseName }}\n UsePRBodyAsReleaseNotes: ${{ fromJson(inputs.Settings).Publish.Module.UsePRBodyAsReleaseNotes }}\n UsePRTitleAsNotesHeading: ${{ fromJson(inputs. Settings).Publish.Module.UsePRTitleAsNotesHeading }}\n ```\n\n4. **Set default values**: Ensure backwards compatibility by setting sensible defaults (following Auto-Release defaults)\n\n5. **Update documentation**: Add examples to README.md showing how to configure these settings\n\n### Benefits\n\n- Consistent release note generation across PSModule repositories\n- More meaningful release notes from PR content\n- Maintains compatibility with Auto-Release configuration patterns\n- Backwards compatible (current behavior unchanged unless configured)","author":{"url":"https://github.com/MariusStorhaug","@type":"Person","name":"MariusStorhaug"},"datePublished":"2026-01-17T19:58:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/263/Process-PSModule/issues/263"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:51673f90-ba6e-87cb-36f2-1425a9dc6d5b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEF2:355540:3EA5690:5498A71:697B0C4D |
| html-safe-nonce | d989c1c577a0b9669a12d5091188083e8cbb0c17f79bc4a08e4f7d1db357827d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUYyOjM1NTU0MDozRUE1NjkwOjU0OThBNzE6Njk3QjBDNEQiLCJ2aXNpdG9yX2lkIjoiMzM1MDI4MjExNDc2NzU3MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a00580ce3cfddd7f14a1c8dba9437d13ca525ae04a27142b1612253c0530ae97 |
| hovercard-subject-tag | issue:3825728694 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PSModule/Process-PSModule/263/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a66cf9e2e9025842e2ac0fa2e6de6b167ae789af1160970a0981e6a263e4bd1a/PSModule/Process-PSModule/issues/263 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a66cf9e2e9025842e2ac0fa2e6de6b167ae789af1160970a0981e6a263e4bd1a/PSModule/Process-PSModule/issues/263 |
| og:image:alt | Describe the change Update the Process-PSModule workflow to use the pull request title and description as release notes, with configurable settings similar to PSModule/Auto-Release. Current Behavio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MariusStorhaug |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8 |
| turbo-cache-control | no-preview |
| go-import | github.com/PSModule/Process-PSModule git https://github.com/PSModule/Process-PSModule.git |
| octolytics-dimension-user_id | 142951047 |
| octolytics-dimension-user_login | PSModule |
| octolytics-dimension-repository_id | 706356420 |
| octolytics-dimension-repository_nwo | PSModule/Process-PSModule |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 706356420 |
| octolytics-dimension-repository_network_root_nwo | PSModule/Process-PSModule |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d7bfc78137af9a4828305e52ab993fce981d7085 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width