/**
 * Imports
 */ import * as core from '@actions/core' ; import * as inputHelper from './input-helper' ; import * as commitMessageChecker from './commit-message-checker' ; /**
 * Main function
 */ async function run ( ) { try { const checkerArguments = await inputHelper . getInputs ( ) ; if ( checkerArguments . messages . length === 0 ) { core . info ( `No commits found in the payload, skipping check.` ) ; } else { await commitMessageChecker . checkCommitMessages ( checkerArguments ) ; } } catch ( error ) { core . setFailed ( error ) ; } } /**
 * Main entry point
 */ run ( ) ;