update changelog gen with branch

This commit is contained in:
Ivan Schaller 2024-02-20 09:35:46 +01:00
parent 84f54a5ddc
commit 26fbb51d71

View file

@ -2,6 +2,12 @@ name: generate and update changelog
on:
workflow_call:
inputs:
branch:
required: false
type: string
description: "branch to checkout"
default: master
jobs:
update-changelog:
@ -11,7 +17,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: master
ref: ${{ inputs.branch }}
- name: install auto-changelog
run: npm install -g auto-changelog