Merge branch 'main' into issue-use-the-agit-to-push-and-create-pull-requests-at-the-same-time
This commit is contained in:
commit
91861fd38e
|
@ -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}.")
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,4 +1,5 @@
|
|||
|
||||
def test_init():
|
||||
import aider_gitea #noqa: F401
|
||||
import aider_gitea.secrets #noqa: F401
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user