Skip to content

πŸš€ Update GitHub Release Notes from CHANGELOG.md #6

πŸš€ Update GitHub Release Notes from CHANGELOG.md

πŸš€ Update GitHub Release Notes from CHANGELOG.md #6

name: πŸš€ Update GitHub Release Notes from CHANGELOG.md
on:
release:
types: [published]
jobs:
release-notes:
name: πŸ“ Publish Release Notes from Changelog
permissions:
# Required for updating GitHub release notes
contents: write
runs-on: ubuntu-latest
steps:
- name: πŸ“¦ Checkout Repository
uses: actions/checkout@v4
- name: βœ‚οΈ Extract Release Notes from CHANGELOG.md
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
with:
changelog_file: CHANGELOG.md
- name: πŸ–‹οΈ Update Release Notes
uses: irongut/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
id: ${{ github.event.release.id }}
body: ${{ steps.extract-release-notes.outputs.release_notes }}