UNPKG

@google-automations/label-utils

Version:
9 lines (8 loc) 351 B
import { GCFLogger } from 'gcf-utils'; import { Octokit } from '@octokit/rest'; export interface Label { name: string; description: string; } export declare function getLabelColor(name: string): string; export declare function syncLabels(octokit: Octokit, owner: string, repo: string, labels: Array<Label>, logger?: GCFLogger): Promise<void>;