From a8ada8441bb30982f6d4521cd98873f6b2886736 Mon Sep 17 00:00:00 2001 From: Evsyukov Denis Date: Fri, 2 Aug 2024 10:32:05 +0300 Subject: [PATCH] wip --- .../actions/milestone-changelog/action.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/actions/milestone-changelog/action.yml b/.github/actions/milestone-changelog/action.yml index 7cbfb6b391..8a5ea363b5 100644 --- a/.github/actions/milestone-changelog/action.yml +++ b/.github/actions/milestone-changelog/action.yml @@ -76,3 +76,22 @@ runs: cat > "$filename" <<"EOF" ${{ steps.changelog.outputs.branch_markdown }} EOF + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3.10.1 + with: + commit-message: | + Re-generate changelog ${{ steps.args.outputs.milestone_title }} + + Signed-off-by: deckhouse-BOaTswain <89150800+deckhouse-boatswain@users.noreply.github.com> + base: main + branch: changelog/${{ steps.args.outputs.milestone_title }} + milestone: ${{ steps.args.outputs.milestone_number }} + title: Changelog ${{ steps.args.outputs.milestone_title }} + body: | + ${{ steps.changelog.outputs.release_markdown }} + + For more information, see the [changelog](https://github.com/deckhouse/deckhouse/blob/main/CHANGELOG/CHANGELOG-${{ steps.changelog.outputs.minor_version }}.md) and minor version [release changes](https://github.com/deckhouse/deckhouse/releases/tag/${{ steps.changelog.outputs.minor_version }}.0). + labels: changelog, auto + token: ${{ inputs.token }} + delete-branch: true