Merge branch 'main' into use-better-base-sha
This commit is contained in:
commit
3469c69bba
25 changed files with 351 additions and 23 deletions
1
lib/upload-lib.js
generated
1
lib/upload-lib.js
generated
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue