feat: add auto_merge_pull_request script#99
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new script, auto_merge_pull_request.py, along with its entry point in pyproject.toml and a version bump in uv.lock. The script is designed to automatically merge eligible open pull requests in a repository. The feedback points out a potential KeyError when accessing the GITHUB_REPOSITORY environment variable directly, suggesting a safer retrieval using os.environ.get with proper error handling.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Summary
auto_merge_pull_requestscriptChanged files
Added
github_rest_api/scripts/github/auto_merge_pull_request.py(+109/-0)Modified
pyproject.toml(+1/-0)uv.lock(+1/-1)Commits
auto_merge_pull_requestscript