Skip to content

Commit 6c372ac

Browse files
feat: add GITHUB_APP_ENTERPRISE_ONLY to .env-example + fix lint issues
1 parent 9972b96 commit 6c372ac

File tree

2 files changed

+1
-31
lines changed

2 files changed

+1
-31
lines changed

.env-example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ UPDATE_EXISTING = ""
2121
GH_APP_ID = ""
2222
GH_INSTALLATION_ID = ""
2323
GH_PRIVATE_KEY = ""
24+
GITHUB_APP_ENTERPRISE_ONLY = ""

test_env.py

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -501,37 +501,6 @@ def test_get_env_vars_auth_with_github_app_installation(self):
501501
)
502502
def test_get_env_vars_auth_with_github_app_installation_missing_inputs(self):
503503
"""Test that an error is raised there are missing inputs for the gh app"""
504-
expected_result = (
505-
"my_organization",
506-
[],
507-
12345,
508-
None,
509-
b"",
510-
False,
511-
"",
512-
"",
513-
[],
514-
"pull",
515-
"Enable Dependabot",
516-
"Dependabot could be enabled for this repository. Please enable it by merging "
517-
"this pull request so that we can keep our dependencies up to date and "
518-
"secure.",
519-
"",
520-
False,
521-
"Create/Update dependabot.yaml",
522-
None,
523-
False,
524-
["internal", "private", "public"],
525-
None, # batch_size
526-
True, # enable_security_updates
527-
[], # exempt_ecosystems
528-
False, # update_existing
529-
{}, # repo_specific_exemptions
530-
"weekly", # schedule
531-
"", # schedule_day
532-
None, # team_name
533-
[], # labels
534-
)
535504
with self.assertRaises(ValueError) as context_manager:
536505
get_env_vars(True)
537506
the_exception = context_manager.exception

0 commit comments

Comments
 (0)