UNPKG

danger

Version:
23 lines (22 loc) 721 B
import { Env, CISource } from "../ci_source"; /** * ### CI Setup * * For Semaphore you will want to go to the settings page of the project. Inside "Build Settings" * you should add `[run_command]` to the Setup thread. Note: that Semaphore only provides * the build environment variables necessary for Danger on PRs across forks. * * ### Token Setup * * You can add your `DANGER_GITHUB_API_TOKEN` inside the "Environment Variables" section in the settings. * */ export declare class Semaphore implements CISource { private readonly env; constructor(env: Env); get name(): string; get isCI(): boolean; get isPR(): boolean; get pullRequestID(): string; get repoSlug(): string; }