Skip to content

Commit

Permalink
Replace action to edit changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Jul 20, 2023
1 parent 2575189 commit 8804e5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/charts/*/charts

.github/configuration.json
.github/release-notes.md

0 comments on commit 8804e5c

Please sign in to comment.