From 600217f04f1e1eb29306eb388d81c792f3dd47b3 Mon Sep 17 00:00:00 2001 From: Andrew Collington Date: Fri, 12 May 2023 17:47:15 +0100 Subject: [PATCH] Fixes issue #2521 (#2529) --- github/Repository.py | 1 + github/Repository.pyi | 2 ++ 2 files changed, 3 insertions(+) diff --git a/github/Repository.py b/github/Repository.py index 8a64a3bf..f36fe1df 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -1588,6 +1588,7 @@ class Repository(github.GithubObject.CompletableGithubObject): :param has_wiki: bool :param has_downloads: bool :param default_branch: string + :param allow_forking: bool :param allow_squash_merge: bool :param allow_merge_commit: bool :param allow_rebase_merge: bool diff --git a/github/Repository.pyi b/github/Repository.pyi index 75f12383..cb21427e 100644 --- a/github/Repository.pyi +++ b/github/Repository.pyi @@ -287,10 +287,12 @@ class Repository(CompletableGithubObject): has_wiki: Union[bool, _NotSetType] = ..., has_downloads: Union[bool, _NotSetType] = ..., default_branch: Union[str, _NotSetType] = ..., + allow_forking: Union[bool, _NotSetType] = ..., allow_squash_merge: Union[bool, _NotSetType] = ..., allow_merge_commit: Union[bool, _NotSetType] = ..., allow_rebase_merge: Union[bool, _NotSetType] = ..., delete_branch_on_merge: Union[bool, _NotSetType] = ..., + allow_update_branch: Union[bool, _NotSetType] = ..., archived: Union[bool, _NotSetType] = ..., ) -> None: ... def enable_automated_security_fixes(self) -> bool: ...