newexpand-autopr
Version:
GitHub PR Automation CLI Tool with AI
51 lines (50 loc) • 2.69 kB
JSON
{
"error": {
"github_token": "GitHub token not found. Please run 'autopr init' first",
"not_git_repo": "Not a git repository",
"no_commits": "No commits found between branches",
"pr_exists": "A pull request already exists for this branch",
"base_modified": "Base branch was modified. Please pull the latest changes",
"base_change_failed": "Failed to change base branch",
"merge_conflict": "Merge conflict detected",
"pr_closed": "This pull request is closed or merged",
"not_mergeable": "This pull request cannot be merged",
"submit_failed": "Failed to submit review",
"get_invitation_status": "Failed to get invitation status: {{error}}",
"get_invitation_statuses": "Failed to get invitation statuses: {{error}}",
"get_conflicts": "Failed to get pull request conflicts: {{error}}",
"github_app_auth": "GitHub API authentication failed: Failed to obtain GitHub App token via server. Please check your network connection or server status.",
"app_info": "Failed to get app info, using default values",
"app_auth_failed": "GitHub App authentication failed: {{error}}",
"general": "An unknown error occurred: {{error}}",
"review_create_failed": "Failed to create PR review: {{error}}",
"file_diff_failed": "Failed to get PR file diff: {{error}}"
},
"warning": {
"merge_conflict": "Merge conflicts detected in this pull request",
"merge_status_unknown": "Merge status is unknown, please check later",
"branch_delete_failed": "Failed to delete the remote branch, you may need to delete it manually",
"invalid_reviewers": "The following reviewers are invalid: {{reviewers}}",
"draft_pr_check_failed": "Failed to check Draft PR availability, proceeding with regular PR"
},
"info": {
"debug": {
"pr_merge_start": "Starting merge of PR #{{number}}",
"owner_repo": "Owner: {{owner}}, Repository: {{repo}}",
"merge_method": "Merge method: {{method}}",
"pr_state": "PR state: {{state}}",
"pr_title": "PR title: {{title}}",
"pr_branch": "PR branch: {{head}} -> {{base}}",
"pr_not_open": "PR is not open: {{state}}",
"merge_status": "Merge status: {{status}}",
"pr_not_mergeable": "PR cannot be merged: {{status}}",
"merge_attempt": "Attempting to merge...",
"merge_success": "Merge successful",
"merge_failed": "Merge failed: {{error}}",
"branch_delete_attempt": "Attempting to delete branch: {{branch}}",
"branch_delete_success": "Branch deletion successful",
"branch_delete_failed": "Branch deletion failed: {{error}}"
},
"update_review": "Updating PR review status using GraphQL API..."
}
}