gh pr/issue list: Cannot filter pr/issues via app `github-actions` & sometimes finds author `ghost` instead. · Issue #5888 · cli/cli · GitHub
Skip to content

gh pr/issue list: Cannot filter pr/issues via app github-actions & sometimes finds author ghost instead. #5888

Description

@insyri

Cannot filter issue/pr lists via flag --app github-actions. Finds author ghost on occasion.

Using both the gh issue list and gh pr list commands cannot filter through app name github-actions. The program successfully filters other app names: like renovate and dependabot.

Using the GitHub API and web interface, it is successfully returning filters on github-actions.
API results
Web results (prefix domain with api.)

Version Information:

gh version 2.13.0 (2022-06-22)
https://github.com/cli/cli/releases/tag/v2.13.0

Steps to reproduce the behavior

  1. Ensure authentication is populated.
  2. Run any of the following under a repository with either an issue or a pr with the app author being github-actions.
gh issue list --app github-actions
gh pr list --app "github-actions"
See live examples
gh pr list -R canonical/ubuntu-desktop-installer --app github-actions
# target: https://github.com/canonical/ubuntu-desktop-installer/pull/967
gh issue list -R ungoogled-software/ungoogled-chromium --app github-actions
# target https://github.com/ungoogled-software/ungoogled-chromium/issues/2011
  1. Possible unexpected outputs:
    a. Issues/PRs return of author ghost.
    b. CLI output of no issues match your search in {repository}.

Expected vs actual behavior

Find issues and pull requests with the specified app name "github-actions" and not ghost.

Logs

Same as shown previously.

See logs.
PS C:\Users\nomam> gh pr list -R canonical/ubuntu-desktop-installer --app github-actions
no pull requests match your search in canonical/ubuntu-desktop-installer
PS C:\Users\nomam> gh issue list -R ungoogled-software/ungoogled-chromium --app github-actions

Showing 2 of 2 issues in ungoogled-software/ungoogled-chromium that match your search

#814  DNS-lookup(and https connect) of single-word searches done in omnibar is happening  enhancement, help wanted  about 2 years ago
#762  Add password generation to profile.                                                 enhancement, help wanted  about 3 years ago
PS C:\Users\user> gh issue view 814 -R ungoogled-software/ungoogled-chromium --json author
{
  "author": {
    "login": ""
  }
}
PS C:\Users\nomam> gh issue view 764 -R ungoogled-software/ungoogled-chromium --json author
{
  "author": {
    "login": "anurag2361"
  }
}
PS C:\Users\nomam> gh pr view 967 -R canonical/ubuntu-desktop-installer --json author
{
  "author": {
    "login": "github-actions"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplatformProblems with the GitHub platform rather than the CLI clientpriority-3Affects a small number of users or is largely cosmetic

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions