Skip to content

LicenseFileExists

const LicenseFileExists: object

Defined in: policies/LicenseFileExists.ts:37

A repo policy that checks that a LICENSE file exists in the repository root. This is essential for open source projects to clarify usage rights and obligations.

description: string = "Ensures a LICENSE file exists in the repository root for open source projects."

handler: (__namedParameters) => Promise<object[]>

RepositoryPolicyArgs<LicenseFileExistsSettings>

Promise<object[]>

name: string = "LicenseFileExists"

scope: "repository" = "repository"