UNPKG

@pagopa/danger-plugin

Version:

Shared rules for DangerJS, used in the PagoPA projects

10 lines (9 loc) 599 B
/** * Implements methods for update a PR title and label with tickets / stories information via danger */ import * as TE from "fp-ts/TaskEither"; import * as Rr from "fp-ts/Reader"; import { MarkdownString } from "danger/distribution/dsl/Aliases"; import { GenericTicket, Configuration } from "./types"; export declare const updatePrLabel: (ticketList: ReadonlyArray<GenericTicket>) => Rr.Reader<Configuration, TE.TaskEither<Error, MarkdownString>>; export declare const updatePrTitle: (ticketList: ReadonlyArray<GenericTicket>) => Rr.Reader<Configuration, TE.TaskEither<Error, MarkdownString>>;