Skip to content

Extend graphql commits with committe(d/r)Date/Name/Email

What does this MR do and why?

This updates the graphql commit type to include committerName, committerEmail, and committerDate.

Signed-off-by: Patrick Talbert ptalbert@redhat.com

How to set up and validate locally

Run a graphql query that includes the new fields:

query mrData($namespace: ID!, $iid: String!) {
  project(fullPath: $namespace) {
    mr: mergeRequest(iid: $iid) {
      commits {
        nodes {
          committedDate
          committerName
          committerEmail
        }
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports