Merge branch 'main' into use-better-base-sha

This commit is contained in:
Thomas Horstmeyer
2022-02-02 13:52:13 +00:00
25 changed files with 351 additions and 23 deletions

1
lib/upload-lib.js generated
View File

@@ -95,6 +95,7 @@ async function uploadPayload(payload, repositoryNwo, apiDetails, logger) {
// If in test mode we don't want to upload the results
const testMode = process.env["TEST_MODE"] === "true" || false;
if (testMode) {
logger.debug("In test mode. Results are not uploaded.");
return;
}
const client = api.getApiClient(apiDetails);