UNPKG

@cdwr/nx-migrate-action

Version:

The Nx Migrate GitHub Action will keep your workspace up to date.

12 lines (11 loc) 490 B
import type { PullRequestMergeMethod } from '@octokit/graphql-schema'; /** * Enable auto-merge for a pull request. * * Pre-requisite: auto-merge must be enabled in the repository settings. * * @param token - GitHub token * @param pullRequest - The pull request number * @param mergeMethod - The merge method to use, defaults to `REBASE` */ export declare const enablePullRequestAutoMerge: (token: string, pullRequest: number, mergeMethod?: PullRequestMergeMethod) => Promise<void>;