mirror of
https://github.com/github/codeql-action.git
synced 2026-01-06 22:50:17 +08:00
Disable database upload in test mode
This commit is contained in:
@@ -20,6 +20,11 @@ export async function uploadDatabases(
|
||||
return;
|
||||
}
|
||||
|
||||
if (util.isInTestMode()) {
|
||||
logger.debug("In test mode. Skipping database upload.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Do nothing when not running against github.com
|
||||
if (
|
||||
config.gitHubVersion.type !== util.GitHubVariant.DOTCOM &&
|
||||
|
||||
Reference in New Issue
Block a user