Skip to content
This repository was archived by the owner on Feb 5, 2018. It is now read-only.
This repository was archived by the owner on Feb 5, 2018. It is now read-only.

provide a way to close a bunch of pull requests #116

@afeld

Description

@afeld

In classes that use the fork strategy, teachers may leave students' pull requests open for review, so that they can submit updates, etc. This may leave them with a bunch of open pull requests across one or more repositories, so it would be helpful to have a command that takes care of them in bulk.

My thinking is to expand merge_pull_requests:

$ teachers_pet help pull_requests
Usage:
  teachers_pet pull_requests --repository=OWNER/REPO

Options:
  --repository=OWNER/REPO
  --merge   # Merges pull requests. Cannot be used in combination with --close.
  --close   # Closes pull requests. Cannot be used in combination with --merge.
  ...

Perform an action on all open pull requests in a particular repository

On the fence about whether it should be an even more generic issues command, though that may be confusing since most people probably think about them (and treat them) as separate things.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions