diff --git a/action.yml b/action.yml index 5eb314d..47c07fa 100644 --- a/action.yml +++ b/action.yml @@ -27,6 +27,10 @@ inputs: required: false description: 'Input actions run on testing environment' default: 'false' + changelog_file: + required: false + description: 'Input changelog file name. (e.g. CHANGELOG_KTX_DRAFT.md) Default is CHANGELOG_DRAFT.md.' + default: 'CHANGELOG_DRAFT.md' runs: using: 'node16' main: 'dist/index.js' diff --git a/src/workflow.ts b/src/workflow.ts index 6201ea8..48a0229 100644 --- a/src/workflow.ts +++ b/src/workflow.ts @@ -137,7 +137,9 @@ async function buildCreateTicketParams( basicParams.product, release_version, core.getInput('framework').toLowerCase() - ) + ), + changelog_file: + core.getInput('changelog_file') || 'CHANGELOG_DRAFT.md' } }