Generate Change Log #55
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 Change Log | |
on: | |
workflow_dispatch: | |
inputs: | |
last_release: | |
description: 'Last release tag' | |
required: true | |
target_sha: | |
description: 'Target sha' | |
required: true | |
jobs: | |
script: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Generate changes | |
id: changelog | |
uses: metcalfc/[email protected] | |
with: | |
myToken: ${{ secrets.GITHUB_TOKEN }} | |
head-ref: ${{ github.event.inputs.target_sha }} | |
base-ref: ${{ github.event.inputs.last_release }} | |
- name: Get the changelog | |
run: | | |
cat << "EOF" | |
${{ steps.changelog.outputs.changelog }} | |
EOF |