UNPKG

buddy-bot

Version:

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

21 lines 959 B
import type { PackageFile, PackageUpdate } from '../types'; /** * Check if a file path is a GitHub Actions workflow file */ export declare function isGitHubActionsFile(filePath: string): boolean; /** * Parse a GitHub Actions workflow file to extract action dependencies */ export declare function parseGitHubActionsFile(filePath: string, content: string): Promise<PackageFile | null>; /** * Update action versions in a GitHub Actions workflow file */ export declare function updateGitHubActionsFile(filePath: string, content: string, updates: PackageUpdate[]): Promise<string>; /** * Generate file changes for GitHub Actions workflow files */ export declare function generateGitHubActionsUpdates(updates: PackageUpdate[]): Promise<Array<{ path: string, content: string, type: 'update' }>>; /** * Fetch latest version for a GitHub Action from GitHub API */ export declare function fetchLatestActionVersion(actionName: string): Promise<string | null>;