Skip to content

Commit

Permalink
Changed to get changelog filename from input
Browse files Browse the repository at this point in the history
  • Loading branch information
hoon-sung committed Jan 16, 2024
1 parent 812ab16 commit 419e2cf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
4 changes: 3 additions & 1 deletion src/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ async function buildCreateTicketParams(
basicParams.product,
release_version,
core.getInput('framework').toLowerCase()
)
),
changelog_file:
core.getInput('changelog_file') || 'CHANGELOG_DRAFT.md'
}
}

Expand Down

0 comments on commit 419e2cf

Please sign in to comment.