New ๐ŸŒŠ wave for @helm

Commit 7f389a47

7f389a47a817Merged

Dmitrii Zhiliaev <[email protected]> ยท 1 year ago ยท 1 file ยท ~1 modified

Description

fix: changelog use body-file

Details

Commit
7f389a47a817
Parent
beb6e7eacb9b

.github/workflows/changelog.ymlmodifiedView file

@@ -28,9 +28,8 @@
2828 TAG: ${{ github.event.release.tag_name }}
2929
3030 - id: changelog
31- env:
32- FILEPATH: .changes/${{ github.event.release.tag_name }}.md
33- run: echo "changelog=$(cat $FILEPATH)" >> $GITHUB_OUTPUT
31+ run: |
32+ cp -rf .changes/${{ github.event.release.tag_name }}.md ${{ github.event.release.tag_name }}.md
3433
3534 - name: Upload changelog artifact
3635 uses: actions/upload-artifact@v4
@@ -61,7 +60,7 @@
6160 delete-branch: true
6261 title: "Changelog/${{ steps.version.outputs.version }}"
6362 labels: ${{ github.event.release.tag_name }},changelog
64- body: ${{ steps.changelog.outputs.changelog }}
63+ body-path: ${{ github.event.release.tag_name }}.md
6564
6665 - uses: wow-actions/use-app-token@v2
6766 id: token
@@ -72,7 +71,7 @@
7271 - name: approve & merge
7372 run: |
7473 gh pr review $PR --approve
75- gh pr merge $PR --auto --merge -d -b ${{ steps.changelog.outputs.changelog }}
74+ gh pr merge $PR --auto --merge -d -F ${{ github.event.release.tag_name }}.md
7675 gh label create ${{ github.event.release.tag_name }} -c "#515C5D" -f
7776 env:
7877 GITHUB_TOKEN: ${{ steps.token.outputs.BOT_TOKEN }}