From 8804e5c3cb59f9cba5fb9f4d76d024eac76ca453 Mon Sep 17 00:00:00 2001 From: ccremer Date: Thu, 20 Jul 2023 09:41:50 +0200 Subject: [PATCH] Replace action to edit changelog --- .github/workflows/changelog.yml | 10 +++++----- .gitignore | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 37ae8d7..d56b024 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -25,12 +25,12 @@ jobs: # combining possible changelogs of all previous PreReleases in between. # PreReleases show a partial changelog since last PreRelease. ignorePreReleases: "${{ !contains(github.ref, '-rc') }}" + outputFile: .github/release-notes.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Update release - uses: tubone24/update_release@v1.3.1 + - name: Update release changelog + run: | + gh release edit "${{ github.ref }}" --notes-file .github/release-notes.md env: - GITHUB_TOKEN: ${{ github.token }} - with: - body: ${{ steps.build_changelog.outputs.changelog }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore index 7ce370f..93b7474 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /charts/*/charts .github/configuration.json +.github/release-notes.md