generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 219
Open
Labels
type: feature requestNew feature or requestNew feature or request
Description
Hi there! Thanks for creating and maintaining this.
I recently came across this github action: create-gh-release-action, which parses the CHANGELOG.md file and uses that to create a body for the release.
Might be cool this action supports a similar thing.
Users can also manually set it up using changelog-reader:
- name: Get Changelog Entry
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
validation_depth: 10
version: ${{ steps.tag_name.outputs.current_version }}
path: ./CHANGELOG.md
- name: Create/update release
uses: ncipollo/release-action@v1
with:
# This pulls from the "Get Changelog Entry" step above, referencing it's ID to get its outputs object.
# See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
tag: ${{ steps.changelog_reader.outputs.version }}
name: Release ${{ steps.changelog_reader.outputs.version }}
body: ${{ steps.changelog_reader.outputs.changes }}
prerelease: ${{ steps.changelog_reader.outputs.status == 'prereleased' }}
draft: ${{ steps.changelog_reader.outputs.status == 'unreleased' }}
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}But it would be even better if this was natively supported by this action.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: feature requestNew feature or requestNew feature or request