This commit is contained in:
geekan 2024-01-15 16:54:03 +08:00
parent 4feea49b22
commit ab55303fa1
4 changed files with 3 additions and 2 deletions

View file

@ -35,6 +35,8 @@ class Action(SerializationMixin, ContextMixin, BaseModel):
@property
def repo(self) -> ProjectRepo:
if not self.context.repo:
self.context.repo = ProjectRepo(self.context.git_repo)
return self.context.repo
@property