mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
Fixed ensure SHA
This commit is contained in:
@ -102,7 +102,7 @@ class GiteaProvider(GitProvider):
|
|||||||
if not is_valid_file(file_path):
|
if not is_valid_file(file_path):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if file_path:
|
if file_path and self.sha:
|
||||||
try:
|
try:
|
||||||
content = self.repo_api.get_file_content(
|
content = self.repo_api.get_file_content(
|
||||||
owner=self.owner,
|
owner=self.owner,
|
||||||
|
Reference in New Issue
Block a user