Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
function configureBranchProtection
import { configureBranchProtection } from "https://deno.land/x/fathym_everything_as_code@v0.0.374/src/services/github/octokit/helpers.ts";

Parameters

octokit: Octokit
owner: string
repo: string
branch: string
defaultBranch: boolean
requireReviews: boolean
requiredStatusChecks: string[]
restrictionTeams: string[]
lockBranch: boolean
username: string

Returns

Promise<void>