From 35a278c9d75b463c954d3ec664b2b476ad399d44 Mon Sep 17 00:00:00 2001 From: Mathew Payne <2772944+GeekMasher@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:51:46 +0000 Subject: [PATCH] fix: Remove org check --- ghasreview/app.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ghasreview/app.py b/ghasreview/app.py index fea8225..f44d386 100644 --- a/ghasreview/app.py +++ b/ghasreview/app.py @@ -145,12 +145,12 @@ def onCodeScanningAlertClose(): return {"message": "Severity is not high enough to get security involved"} # Check if an org account - try: - # TODO: Is this needed this org check? - alert.client.organization(alert.owner) - except Exception: - logger.debug(f"Non-organization account is using the App, lets do nothing...") - return {"message": "Non-organization account is using the App. Do nothing."} + # try: + # # TODO: Is this needed this org check? + # alert.client.organization(alert.owner) + # except Exception: + # logger.debug(f"Non-organization account is using the App, lets do nothing...") + # return {"message": "Non-organization account is using the App. Do nothing."} # Check team if not alert.client.checkIfTeamExists(alert.owner, config.get("GHAS_TEAM")):