events: add sunnypilot/openpilot to remote origin check (#1216)

events: add sunnypilot/openpilot to remote origin check
This commit is contained in:
Jason Wen
2025-09-04 22:22:48 -04:00
committed by GitHub
parent daf5ea2783
commit 31918c067a

View File

@@ -85,7 +85,8 @@ class OpenpilotMetadata:
@property
def sunnypilot_remote(self) -> bool:
return self.git_normalized_origin == "github.com/sunnypilot/sunnypilot"
return self.git_normalized_origin in ("github.com/sunnypilot/sunnypilot",
"github.com/sunnypilot/openpilot")
@property
def git_normalized_origin(self) -> str: