Skip to content

Commit bf09720

Browse files
DEVOPS-50 list github app py files
1 parent 97351e3 commit bf09720

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

list_all_github_app_in_org.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ def list_github_apps_in_organization(organization: str):
5151

5252
return app_short_list
5353

54-
5554
def main():
5655
""" To test the code """
5756
load_dotenv()
5857
GH_TOKEN = os.getenv('gh_token')
59-
# organization = os.getenv('ORGANIZATION')
60-
organization = 'devwithkrishna'
58+
organization = os.getenv('ORGANIZATION')
59+
# organization = 'devwithkrishna'
6160

61+
# Function call
6262
app_short_list = list_github_apps_in_organization(organization)
6363

6464
if __name__ == '__main__':

0 commit comments

Comments
 (0)