Skip to content

Cannot filter out Renovate (bot) PRs #4045

Description

@koterpillar

Describe the bug

When filtering PRs by author, Renovate's PRs are not matched.

Version:

$ gh --version                                 
gh version 1.13.1 (2021-07-20)
https://github.com/cli/cli/releases/tag/v1.13.1

Steps to reproduce the behavior

Note: examples show a public repository for better reproducibility. However, that repository isn't mine and its state might change later.

I have Renovate configured on a repository and raising PRs. I'd like to get a list of them:

$ gh pr list --repo gatsbyjs/gatsby --author renovate

No pull requests match your search in gatsbyjs/gatsby

However, I know there are some, and if I look manually, gh agrees:

$ gh pr list --repo gatsbyjs/gatsby --json title,author --limit 3
[
  {
    "author": {
      "login": "fk"
    },
    "title": "chore(docs): Put _that image_ through https://imageoptim.com/"
  },
  {
    "author": {
      "login": "xugetsu"
    },
    "title": "chore(docs): Fix typo in File System Route API doc"
  },
  {
    "author": {
      "login": "renovate"
    },
    "title": "fix(deps): update starters and examples gatsby packages to ^3.10.2"
  }
]

Expected vs actual behavior

--author renovate should show the PRs raised by Renovate, such as "fix(deps): update starters and examples gatsby packages to ^3.10.2" in the above example.

Logs

See above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions