dependabot-core icon indicating copy to clipboard operation
dependabot-core copied to clipboard

Github Graphql returns none for author if dependabot PR

Open broksonic21 opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Package ecosystem

npm

Package manager version

n/a

Language version

n/a

Manifest location and content before the Dependabot update

n/a

dependabot.yml content

n/a

Updated dependency

n/a

What you expected to see, versus what you actually saw

Example:

query pullRequest {
  repository(owner: "broksonic21", name: "nx-dependabot-increase") {
    pullRequests(states: OPEN, first: 1) {
      nodes {
        title
        isDraft
        url
        author {
          ... on User {
            email
            name
            login
          }
        }
      }
    }
  }

Gets

{
  "data": {
    "repository": {
      "pullRequests": {
        "nodes": [
          {
            "title": "Bump follow-redirects from 1.15.5 to 1.15.6",
            "isDraft": false,
            "url": "https://github.com/broksonic21/nx-dependabot-increase/pull/8",
            "author": {}
          }
        ]
      }
    }
  }
}

With an empty author

Is there a syntax which can read dependabot as the author?

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

broksonic21 avatar May 02 '24 16:05 broksonic21

any update on this? thanks!

broksonic21 avatar Jun 25 '24 14:06 broksonic21

@abdulapopoola any update on this one by chance? A number of tools and analytics we do needs to know which are dependabot, and this unfortunately blocks us.

Thanks!

broksonic21 avatar Jun 19 '25 12:06 broksonic21