Skip to content

Commit 642e396

Browse files
🩹 [Update]: Rearrange UsePRTitleAsReleaseName and UsePRBodyAsReleaseNotes inputs in action.yml and README.md for clarity
1 parent e92c4dc commit 642e396

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ The action can be configured using the following settings:
5050
| `MajorLabels` | A comma separated list of labels that trigger a major release. | `major, breaking` | false |
5151
| `MinorLabels` | A comma separated list of labels that trigger a minor release. | `minor, feature` | false |
5252
| `PatchLabels` | A comma separated list of labels that trigger a patch release. | `patch, fix` | false |
53+
| `UsePRTitleAsReleaseName` | When enabled, uses the pull request title as the name for the GitHub release. | `false` | false |
5354
| `UsePRBodyAsReleaseNotes` | When enabled, uses the pull request body as the release notes for the GitHub release. | `true` | false |
54-
| `UsePRTitleAsReleaseName` | When enabled, uses the pull request title as the name for the GitHub release. | `true` | false |
5555
| `VersionPrefix` | The prefix to use for the version number. | `v` | false |
5656
| `WhatIf` | Control wether to simulate the action. If enabled, the action will not create any releases. Used for testing. | `false` | false |
5757
| `Debug` | Enable debug output. | `'false'` | false |

‎action.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ inputs:
5050
description: A comma separated list of labels that trigger a patch release.
5151
required: false
5252
default: patch, fix
53-
UsePRBodyAsReleaseNotes:
54-
description: When enabled, uses the pull request body as the release notes for the GitHub release.
55-
required: false
56-
default: 'true'
5753
UsePRTitleAsReleaseName:
5854
description: When enabled, uses the pull request title as the name for the GitHub release.
5955
required: false
56+
default: 'false'
57+
UsePRBodyAsReleaseNotes:
58+
description: When enabled, uses the pull request body as the release notes for the GitHub release.
59+
required: false
6060
default: 'true'
6161
VersionPrefix:
6262
description: The prefix to use for the version number.

0 commit comments

Comments
 (0)