add secret scanning status to api

This commit is contained in:
Maidul Islam
2023-07-17 21:28:47 -04:00
parent f37b497e48
commit 993abd0921
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ const main = async () => {
})
);
if (await getSecretScanningGitAppId()) {
if (await getSecretScanningGitAppId() && await getSecretScanningWebhookSecret() && await getSecretScanningPrivateKey()) {
const probot = new Probot({
appId: await getSecretScanningGitAppId(),
privateKey: await getSecretScanningPrivateKey(),