UNPKG

@wordpress/project-management-automation

Version:

GitHub Action that implements various automation to assist with managing the Gutenberg GitHub repository.

24 lines 573 B
/** * Automation task function. */ export type WPAutomationTask = (payload: any, octokit: ReturnType<typeof getOctokit>) => void; /** * Full list of automations, matched by given properties against the incoming * payload object. */ export type WPAutomation = { /** * Webhook event name to match. */ event: string; /** * Action to match, if applicable. */ action?: string | undefined; /** * Task to run. */ task: WPAutomationTask; }; import { getOctokit } from "@actions/github"; //# sourceMappingURL=index.d.ts.map