π Update GitHub Release Notes from CHANGELOG.md #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |