Skip to content

Commit 0ee69ba

Browse files
authored
Merge pull request #611 from korthout/korthout-415-summary-comment-2
Add summary comment style
2 parents 188e2dc + 1db2c6e commit 0ee69ba

12 files changed

Lines changed: 1149 additions & 222 deletions

‎README.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,14 @@ Specifically, those reachable from the pull request's head and not reachable fro
248248

249249
By default, the action cherry-picks the commits based on the method used to merge the pull request.
250250

251+
### `comment_style`
252+
253+
Default: `legacy`
254+
255+
Controls the style of comments posted by the action.
256+
When set to `legacy`, the action posts individual comments per target branch.
257+
When set to `summary`, the action posts a single summary comment per workflow run with actionable details.
258+
251259
### `copy_all_reviewers`
252260

253261
Default: `false` (disabled)

‎action.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ inputs:
6161
6262
By default, the action cherry-picks the commits based on the method used to merge the pull request.
6363
default: auto
64+
comment_style:
65+
description: >
66+
Controls the style of comments posted by the action.
67+
When set to `legacy`, the action posts individual comments per target branch.
68+
When set to `summary`, the action posts a single summary comment per workflow run with actionable details.
69+
default: legacy
6470
copy_all_reviewers:
6571
description: >
6672
Controls whether to copy all reviewers from the original pull request to the backport pull request.

0 commit comments

Comments
 (0)