File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,19 @@ const parseDurationInMilliseconds = (text) => {
2222
2323const run = async ( ) => {
2424 try {
25- let issueTitlePrefix = core . getInput ( 'prefix' )
26- issueTitlePrefix = issueTitlePrefix ? issueTitlePrefix + ' ' : ''
25+ // boolean inputs
2726 let dryRun = core . getInput ( 'dry-run' )
2827 if ( dryRun ) dryRun = dryRun === 'true'
2928 let aggregate = core . getInput ( 'aggregate' )
3029 if ( aggregate ) aggregate = aggregate === 'true'
30+
31+ // integer inputs
3132 let characterLimit = core . getInput ( 'character-limit' )
3233 if ( characterLimit ) characterLimit = parseInt ( characterLimit )
34+
35+ // string inputs
36+ let issueTitlePrefix = core . getInput ( 'prefix' )
37+ issueTitlePrefix = issueTitlePrefix ? issueTitlePrefix + ' ' : ''
3338 const titlePattern = core . getInput ( 'title-pattern' )
3439 const contentPattern = core . getInput ( 'content-pattern' )
3540
You can’t perform that action at this time.
0 commit comments