UNPKG

@auto-canary/omit-release-notes

Version:

Omit release notes plugin for auto

32 lines 1.02 kB
import { Auto, IPlugin } from '@auto-it/core'; export interface IReleaseNotesPluginOptions { /** Usernames to omit */ username?: string | string[]; /** Emails to omit */ email?: string | string[]; /** Names to omit */ name?: string | string[]; /** Labels to omit */ labels?: string | string[]; } /** Filter PRs with release notes that shouldn't make it into a release. */ export default class ReleaseNotesPlugin implements IPlugin { /** The name of the plugin */ name: string; /** The options of the plugin */ readonly options: { /** Usernames to omit */ username: string[]; /** Emails to omit */ email: string[]; /** Names to omit */ name: string[]; /** Labels to omit */ labels: string[]; }; /** Initialize the plugin with it's options */ constructor(options: IReleaseNotesPluginOptions); /** Tap into auto plugin points. */ apply(auto: Auto): void; } //# sourceMappingURL=index.d.ts.map