1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-11-25 22:26:29 +01:00

Fix 'git-obs pr dump' to skip the dump if the target has the same updated_at timestamp as the pull request in Gitea

This commit is contained in:
2025-10-29 14:33:45 +01:00
parent 4170a3c251
commit fb8d1f4c72
2 changed files with 15 additions and 1 deletions

View File

@@ -154,6 +154,10 @@ class PullRequest(GiteaModel):
def state(self) -> str:
return self._data["state"]
@property
def updated_at(self) -> str:
return self._data["updated_at"]
@property
def user(self) -> str:
return self._data["user"]["login"]