update changelog gen with branch
This commit is contained in:
parent
84f54a5ddc
commit
26fbb51d71
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue