Skip to content

File tree

1 file changed

+3
-0
lines changed
  • readthedocs/vcs_support/backends

1 file changed

+3
-0
lines changed

readthedocs/vcs_support/backends/git.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ def has_ssh_key_with_write_access(self) -> bool:
220220
"ERROR: The repository owner has an IP allow list enabled",
221221
# Gitlab:
222222
"ERROR: This deploy key does not have write access to this project.",
223+
"remote: This deploy key does not have write access to this project.",
224+
# Bitbucket:
225+
"fatal: Could not read from remote repository.",
223226
]
224227
for pattern in errors_read_access_only:
225228
if pattern in stderr:

0 commit comments

Comments
 (0)