Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function configureBranchProtection
import { configureBranchProtection } from "https://deno.land/x/fathym_everything_as_code_api@v0.0.19/src/src.deps.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>