Skip to content

add script to approve PRs by author and title - #9

Merged
mikeharder merged 3 commits into
mainfrom
approve-prs
Mar 20, 2026
Merged

mikeharder merged 3 commits into
mainfrom
approve-prs

Conversation

@mikeharder

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI 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.

Pull request overview

Adds a new utility script to help triage and approve GitHub pull requests matching a given repository, author, and one-or-more title search strings, fitting the repo’s collection of GitHub CLI automation scripts.

Changes:

  • Introduces approve-prs.sh with -n dry-run support to list matching open PRs without approving.
  • Implements gh preflight checks, PR discovery via gh pr list + --jq, and an interactive per-PR approval prompt.
  • Prints a summary of matched PRs including whether each is already approved.

Comment thread approve-prs.sh
Comment thread approve-prs.sh
Comment thread approve-prs.sh
mikeharder and others added 2 commits March 20, 2026 11:45
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mikeharder
mikeharder merged commit 1c188f1 into main Mar 20, 2026
1 check passed
@mikeharder
mikeharder deleted the approve-prs branch March 20, 2026 18:49
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.

2 participants