diff --git a/pr_agent/git_providers/gitea_provider.py b/pr_agent/git_providers/gitea_provider.py index 39f136ba..d7dd2462 100644 --- a/pr_agent/git_providers/gitea_provider.py +++ b/pr_agent/git_providers/gitea_provider.py @@ -471,11 +471,11 @@ class GiteaProvider(GitProvider): if status == 'added': edit_type = EDIT_TYPE.ADDED - elif status == 'removed': + elif status == 'removed' or status == 'deleted': edit_type = EDIT_TYPE.DELETED elif status == 'renamed': edit_type = EDIT_TYPE.RENAMED - elif status == 'modified': + elif status == 'modified' or status == 'changed': edit_type = EDIT_TYPE.MODIFIED else: self.logger.error(f"Unknown edit type: {status}")