Action started by emanuel-braz #8
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: Generate Enhanced Release Notes | |
run-name: Action started by ${{ github.actor }} | |
on: | |
workflow_dispatch: | |
inputs: | |
tagName: | |
description: 'Tag of the release.' | |
required: true | |
type: string | |
jobs: | |
enhanced_release_notes: | |
name: Generate Enhanced Release Notes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./generate-enhanced-notes | |
id: release_notes | |
with: | |
tag_name: ${{ github.event.inputs.tagName }} | |
use_previous_tag_latest_release: true | |
verbose: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
openai_key: ${{ secrets.OPENAI_KEY }} | |
- name: Print Release Notes (Use it as you want) | |
run: | | |
echo "${{ steps.release_notes.outputs.enhanced_notes }}" | |
echo "${{ steps.release_notes.outputs.enhanced_notes }}" >> $GITHUB_STEP_SUMMARY |