Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 18, 2022. It is now read-only.

List all PRs in all repositories belonging to an individual user/organization

License

NotificationsYou must be signed in to change notification settings

PythonCoderAS/github-list-all-prs

Repository files navigation

⚠️Deprecated⚠️

Superseded bygh-all-repos list-pr.

List all PRs in all repositories belonging to an individual user/organization.

Quickstart

npm install -g github-list-all-prsGITHUB_TOKEN="<your-github-token>" github-list-all-prs user<user># Alternatively: GITHUB_TOKEN="<your-github-token>" github-list-all-prs organization <org>

Features

Tokens

Tokens need to be GitHub private access tokens with therepo scopes. If you do not want to list PRs for any privaterepos, then thepublic_repo scope suffices. It is also possible to omit the token altogether, but it is highlyrecommended to use a token because unauthenticated API requests have a very low rate-limit.

Tokens can either be given via the--token argument or via theGITHUB_TOKEN environment variable. Alternatively,a.env file withGITHUB_TOKEN=<token> can also be created; seedotenv for moreinformation.

User/Organization

There is one command for listing PRs for all repos of users and one command for listing PRs for all repos oforganizations. A user cannot be supplied to the organization command or vice versa, otherwise an NotFoundError willoccur.

User Mode: Collaborators

User mode contains an additional configuration option,--collaborator that works when the supplied user is the sameuser that created the token the client is using. Specifying this option will cause the client to list PRs for all reposof all repositories that the user is a collaborator on.

PR Status

The client can show PRs in these states:

  • --open: List all open PRs. This is the default operation.
  • --closed: List all closed PRs.
  • --all: List all PRs.

The states can be specified as a command line flag. Only one state may be specified at a time.

Author Filter

The client can show PRs that have been authored by a specific user. Use the--author=<username> option to specify theusername of the PR author to filter by.

Label Filter

The client can show PRs that have been labelled with a specific label. Use the--label=<label> option to specify thelabel to filter by.

Private Repos

Private repositories are included by default. In order to exclude them from the PR list, the--no-private optioncan be supplied.

Repo Limit

The number of PRs shown per repository can be limited using the--repo-limit=<limit> option. A limit of 0 is seen asno limit.

Global Limit

The number of PRs shown in total can be limited using the--global-limit=<limit> option. A limit of 0 is seen as nolimit.

About

List all PRs in all repositories belonging to an individual user/organization

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp