diff --git a/.github/workflows/config/release-notes.json b/.github/workflows/config/release-notes.json index bf1747f5ccd..eee182a77e7 100644 --- a/.github/workflows/config/release-notes.json +++ b/.github/workflows/config/release-notes.json @@ -56,6 +56,16 @@ "pattern": "", "flags": "gus", "target": "" + }, + { + "pattern": "\n\\s*\n", + "flags": "gu", + "target": "\n" + }, + { + "pattern": "\n", + "flags": "gu", + "target": "\n " } ], "custom_placeholders": [ @@ -65,12 +75,12 @@ "transformer": { "pattern": ".*#### Release Notes(?:[\n\\s]|(?:))*((?:\\S(?!!--)).*?)[\n\\s]*\n#.*", "flags": "gus", - "target": "\n $1" + "target": "\n$1" } } ], "trim_values": false, "max_tags_to_fetch": 200, - "max_pull_requests": 500, + "max_pull_requests": 1000, "max_back_track_time_days": 365 } diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 6459664a6e6..f3bac67dbaa 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -22,10 +22,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build Release Notes id: release-notes - uses: mikepenz/release-changelog-builder-action@v3.7.0 + uses: mikepenz/release-changelog-builder-action@v4.1.1 with: configuration: .github/workflows/config/release-notes.json failOnError: true