File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36993,9 +36993,9 @@ async function run() {
3699336993 try {
3699436994 const token = core.getInput('token') || process.env.GITHUB_TOKEN;
3699536995 let branch = core.getInput('branch', { required: true });
36996- const autoMerge = core.getBooleanInput('auto_merge') || false ;
36997- const addTimestamp = core.getBooleanInput('add_timestamp') || true ;
36998- const updateFromSource = core.getBooleanInput('update_from_source') || false ;
36996+ const autoMerge = core.getBooleanInput('auto_merge');
36997+ const addTimestamp = core.getBooleanInput('add_timestamp');
36998+ const updateFromSource = core.getBooleanInput('update_from_source');
3699936999 if (addTimestamp) {
3700037000 branch = `${branch}-${new Date().toISOString().replace(/[:.]/g, '-')}`;
3700137001 }
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ export async function run(): Promise<void> {
2727 try {
2828 const token = core . getInput ( 'token' ) || process . env . GITHUB_TOKEN ;
2929 let branch = core . getInput ( 'branch' , { required : true } ) ;
30- const autoMerge = core . getBooleanInput ( 'auto_merge' ) || false ;
31- const addTimestamp = core . getBooleanInput ( 'add_timestamp' ) || true ;
32- const updateFromSource = core . getBooleanInput ( 'update_from_source' ) || false ;
30+ const autoMerge = core . getBooleanInput ( 'auto_merge' ) ;
31+ const addTimestamp = core . getBooleanInput ( 'add_timestamp' ) ;
32+ const updateFromSource = core . getBooleanInput ( 'update_from_source' ) ;
3333
3434 if ( addTimestamp ) {
3535 branch = `${ branch } -${ new Date ( ) . toISOString ( ) . replace ( / [: .] / g, '-' ) } ` ;
You can’t perform that action at this time.
0 commit comments