You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 [Feature]: Add options to use PR title and body as release title and body (#79)
## Description
- Adds `UsePRBodyAsReleaseNotes` and `UsePRTitleAsReleaseName` inputs.
This allow you to configure the action to copy the PR body into
the release notes and/or use the PR title as the release name.
- Fixes#72
- Changes the default behavior of the action from using the built in
release note generation using the .github/release.yml instructions to
use the PR body for release notes (`UsePRBodyAsReleaseNotes = true`).
The release title remains as before with using the semantic‑version tag.
You can opt out of this new functionality by setting the input(s) to
`false`.
### 📋 How to use the new options
```yaml
steps:
- uses: PSModule/Auto-Release@vNext
with:
UsePRBodyAsReleaseNotes: true # default is true
UsePRTitleAsReleaseName: false # default is false
```
### ⏭️ Migration guide
Current adopters that relied on the previous default (generated
changelog as release notes) should explicitly set
`UsePRBodyAsReleaseNotes: false` to keep former behavior.
0 commit comments