diff --git a/github/github.graphql b/github/github.graphql index 824e5c30f..92374c175 100644 --- a/github/github.graphql +++ b/github/github.graphql @@ -22359,6 +22359,17 @@ type PullRequest implements Node & Assignable & Closable & Comment & Updatable & viewerSubscription: SubscriptionState } +""" +The possible methods for updating a pull request's head branch with the base branch. +""" +enum PullRequestBranchUpdateMethod { + """Update branch via merge""" + MERGE + + """Update branch via rebase""" + REBASE +} + """A file changed in a pull request.""" type PullRequestChangedFile { """The number of additions to the file.""" @@ -32353,7 +32364,8 @@ input StartRepositoryMigrationInput { """ Whether to continue the migration on error. Defaults to `false`. We strongly - recommend setting this to `true` for the smoothest migration experience. + recommend setting this to `true` for the smoothest migration experience. *This + default will change to `true` on September 4, 2023.* """ continueOnError: Boolean @@ -36236,6 +36248,9 @@ input UpdatePullRequestBranchInput { """The head ref oid for the upstream branch.""" expectedHeadOid: GitObjectID + """The update branch method to use. If omitted, defaults to 'MERGE'""" + updateMethod: PullRequestBranchUpdateMethod + """A unique identifier for the client performing the mutation.""" clientMutationId: String }