We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9563796 + d818da7 commit b734a17Copy full SHA for b734a17
1 file changed
cumulusci_ado/vcs/ado/adapter.py
@@ -780,7 +780,7 @@ def get_ref(self, ref_sha: str) -> Optional[ADORef]:
780
refs: list[GitRef] = self.git_client.get_refs(
781
self.id,
782
self.project_id,
783
- filter=ref_sha,
+ filter=(ref_sha or f"heads/{self.default_branch}"),
784
include_statuses=True,
785
latest_statuses_only=True,
786
peel_tags=True,
0 commit comments