Skip to content

Renovate attempts to post 'Artifact update problem' with invalid content #19532

Answered by rarkins
nfm asked this question in Request Help
Discussion options

You must be logged in to vote

Thanks for reporting this.

Each platform (e.g. gitlab) has a massageMarkdown() function, e.g.

export function massageMarkdown(input: string): string {
let desc = input
.replace(regEx(/Pull Request/g), 'Merge Request')
.replace(regEx(/PR/g), 'MR')
.replace(regEx(/\]\(\.\.\/pull\//g), '](!');
if (semver.lt(defaults.version, '13.4.0')) {
logger.debug(
{ version: defaults.version },
'GitLab versions earlier than 13.4 have issues with long descriptions, truncating to 25K characters'
);
desc = smartTruncate(desc, 25000);
} else {
desc = smar…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nfm
Comment options

@nfm
Comment options

Answer selected by nfm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants