Run Monitor TypeScript job on trunk branch (https://github.com/woocommerce/woocommerce-blocks/pull/7570)
* run job on trunk branch * bot: update checkstyle.xml Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
5dc48d70b7
commit
fa1e644b81
|
@ -51,12 +51,14 @@ const runner = async () => {
|
|||
'</details>'
|
||||
: '🎉 🎉 This PR does not introduce new TS errors.' );
|
||||
|
||||
if ( process.env[ 'CURRENT_BRANCH' ] !== 'trunk' ) {
|
||||
await octokit.rest.issues.createComment( {
|
||||
owner,
|
||||
repo,
|
||||
issue_number: payload.pull_request.number,
|
||||
body: message,
|
||||
} );
|
||||
}
|
||||
|
||||
if ( process.env[ 'CURRENT_BRANCH' ] === 'trunk' ) {
|
||||
try {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue