Compare commits

..

2 Commits

Author SHA1 Message Date
91861fd38e Merge branch 'main' into issue-use-the-agit-to-push-and-create-pull-requests-at-the-same-time
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 24s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s
2025-04-13 14:24:08 +00:00
8c9194975b Fixed test
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 24s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s
2025-04-13 16:23:53 +02:00
4 changed files with 4 additions and 3 deletions

View File

@ -166,7 +166,7 @@ def main():
logger.exception('Error processing issue')
sys.exit(1)
body = f"Automatically generated pull request for issue: {issue.get('html_url', 'unknown')}"
body = f"This pull request resolves {issue.get('html_url', 'unknown')}"
try:
pr = client.create_pull_request(args.owner, args.repo, f"[Issue {issue_number}] {title}", branch_name, args.base_branch, body)
logger.info(f"Created pull request: {pr.get('html_url', 'unknown')} for issue {issue_number}.")

View File

@ -1,7 +1,7 @@
SECRETS = secret_loader.SecretLoader()
import secret_loader
SECRETS = secret_loader.SecretLoader()
def llm_api_key():
return SECRETS.load_or_fail('LLM_API_KEY')

View File

@ -1,4 +1,5 @@
def test_init():
import aider_gitea #noqa: F401
import aider_gitea.secrets #noqa: F401