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) => {
22
22
23
23
const run = async ( ) => {
24
24
try {
25
- let issueTitlePrefix = core . getInput ( 'prefix' )
26
- issueTitlePrefix = issueTitlePrefix ? issueTitlePrefix + ' ' : ''
25
+ // boolean inputs
27
26
let dryRun = core . getInput ( 'dry-run' )
28
27
if ( dryRun ) dryRun = dryRun === 'true'
29
28
let aggregate = core . getInput ( 'aggregate' )
30
29
if ( aggregate ) aggregate = aggregate === 'true'
30
+
31
+ // integer inputs
31
32
let characterLimit = core . getInput ( 'character-limit' )
32
33
if ( characterLimit ) characterLimit = parseInt ( characterLimit )
34
+
35
+ // string inputs
36
+ let issueTitlePrefix = core . getInput ( 'prefix' )
37
+ issueTitlePrefix = issueTitlePrefix ? issueTitlePrefix + ' ' : ''
33
38
const titlePattern = core . getInput ( 'title-pattern' )
34
39
const contentPattern = core . getInput ( 'content-pattern' )
35
40
You can’t perform that action at this time.
0 commit comments