* 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:
Luigi Teschio 2022-11-02 12:10:33 +01:00 committed by GitHub
parent 5dc48d70b7
commit fa1e644b81
2 changed files with 1610 additions and 1111 deletions

View File

@ -51,12 +51,14 @@ const runner = async () => {
'</details>'
: '🎉 🎉 This PR does not introduce new TS errors.' );
await octokit.rest.issues.createComment( {
owner,
repo,
issue_number: payload.pull_request.number,
body: message,
} );
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