Skip to content

Generate Change Log #55

Generate Change Log

Generate Change Log #55

Workflow file for this run

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