Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
variable addCommitMutation
import { addCommitMutation } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/core/GraphQl/Mutations/AddCommitMutation.ts";

Creates a GraphQL mutation to add a commit to a branch that matches the given branchName, in a repository with a name that matches the given repoName, and that is owned by a GitHub user with a login name that matches the given ownerName.

type

(
ownerName: string,
repoName: string,
branchName: string,
branchHeadOid: string,
commitMessage: string,
) => string