UNPKG

buddy-bot

Version:

Automated & optimized dependency updates for JavaScript & TypeScript projects. Like Renovate & Dependabot.

33 lines 1.33 kB
import type { BuddyBotConfig } from '../types'; export declare interface WorkflowConfig { name: string schedule: string strategy?: 'major' | 'minor' | 'patch' | 'all' timezone?: string autoMerge?: boolean | { enabled: boolean strategy: 'merge' | 'squash' | 'rebase' conditions?: string[] } reviewers?: string[] labels?: string[] } export declare class GitHubActionsTemplate { static private needsComposerSupport(): boolean; static private generateComposerSetupSteps(): string; static private getStandardSetupSteps(): string; static generateWorkflow(config: WorkflowConfig): string; static generateScheduledWorkflows(config?: BuddyBotConfig): Record<string, string>; static generateComprehensiveWorkflow(_config?: BuddyBotConfig): string; static generateDockerWorkflow(_config?: BuddyBotConfig): string; static generateMonorepoWorkflow(_config?: BuddyBotConfig): string; static generateTestingWorkflow(_config?: BuddyBotConfig): string; static generateCustomWorkflow(customConfig: { name: string schedule: string strategy?: 'major' | 'minor' | 'patch' | 'all' autoMerge?: boolean | { enabled: boolean, strategy: 'merge' | 'squash' | 'rebase', conditions?: string[] } reviewers?: string[] labels?: string[] }, config?: BuddyBotConfig): string; }