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
#52 - Add logic to control the visibility of Service chapters
- Clean up of action controls to manage service chapters visibility.
- Grouped "features" controls.
- Simplified the code using static ActionInputs.
- Introduced defaults values in ActionInputs and env variable access methods.
- Updated unit tests.
Copy file name to clipboardExpand all lines: README.md
+21-17Lines changed: 21 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,6 @@ Generate Release Notes action is dedicated to enhance the quality and organizati
43
43
-**Description**: A JSON string defining chapters and corresponding labels for categorization. Each chapter should have a title and a label matching your GitHub issues and PRs.
44
44
-**Required**: Yes
45
45
46
-
### `warnings`
47
-
-**Description**: Set to true to enable warnings in the release notes. These warnings identify issues without release notes, without user-defined labels, or without associated pull requests, and PRs without linked issues.
48
-
-**Required**: No
49
-
-**Default**: false
50
-
51
46
### `published-at`
52
47
-**Description**: Set to true to enable the use of the `published-at` timestamp as the reference point for searching closed issues and PRs, instead of the `created-at` date of the latest release.
53
48
-**Required**: No
@@ -58,21 +53,29 @@ Generate Release Notes action is dedicated to enhance the quality and organizati
58
53
-**Required**: No
59
54
-**Default**: `skip-release-notes`
60
55
61
-
### `print-empty-chapters`
62
-
-**Description**: Set to true to print chapters with no issues or PRs.
56
+
### `verbose`
57
+
-**Description**: Set to true to enable verbose logging for detailed output during the action's execution.
63
58
-**Required**: No
64
59
-**Default**: false
60
+
-**Note**: If workflow run in debug regime, 'verbose' logging is activated.
65
61
66
-
### `chapters-to-pr-without-issue`
67
-
-**Description**: Set to false to avoid application of custom chapters for PRs without linked issues.
62
+
### Feature controls
63
+
64
+
### `warnings`
65
+
-**Description**: Set to true to print service chapters in the release notes. These warnings identify issues without release notes, without user-defined labels, or without associated pull requests, and PRs without linked issues.
68
66
-**Required**: No
69
-
-**Default**: true
67
+
-**Default**: true (Service chapters are printed.)
70
68
71
-
### `verbose`
72
-
-**Description**: Set to true to enable verbose logging for detailed output during the action's execution.
69
+
### `print-empty-chapters`
70
+
-**Description**: Set it to true to print chapters with no issues or PRs.
73
71
-**Required**: No
74
-
-**Default**: false
75
-
-**Note**: If workflow run in debug regime, 'verbose' logging is activated.
72
+
-**Default**: true (Empty chapters are printed.)
73
+
74
+
### `chapters-to-pr-without-issue`
75
+
-**Description**: Set it to false to avoid the application of custom chapters for PRs without linked issues.
76
+
-**Required**: No
77
+
-**Default**: true (Custom chapters are applied to PRs without linked issues.)
78
+
76
79
77
80
## Outputs
78
81
The output of the action is a markdown string containing the release notes for the specified tag. This string can be used in subsequent steps to publish the release notes to a file, create a GitHub release, or send notifications.
@@ -120,12 +123,13 @@ Add the following step to your GitHub workflow (in example are used non-default
120
123
{"title": "New Features 🎉", "label": "feature"},
121
124
{"title": "Bugfixes 🛠", "label": "bug"}
122
125
]'
123
-
warnings: false
124
126
published-at: true
125
127
skip-release-notes-label: 'ignore-in-release'# changing default value of label
0 commit comments