Skip to content

feat: add auto_merge_pull_request script#99

Merged
dclong merged 1 commit into
mainfrom
push-ksqolmowuplr
Jun 29, 2026
Merged

feat: add auto_merge_pull_request script#99
dclong merged 1 commit into
mainfrom
push-ksqolmowuplr

Conversation

@dclong

@dclong dclong commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • feat(github): add auto_merge_pull_request script

Changed files

Added

  • github_rest_api/scripts/github/auto_merge_pull_request.py (+109/-0)
    Modified
  • pyproject.toml (+1/-0)
  • uv.lock (+1/-1)

Commits

  • a8e39f6 feat(github): add auto_merge_pull_request script

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread github_rest_api/scripts/github/auto_merge_pull_request.py
@dclong dclong merged commit 60584c9 into main Jun 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant