diff --git a/lib/workers/global/index.js b/lib/workers/global/index.js index 84e3e7710cde37a21e54406740ff8a5f626e03f8..c59aeb62a80c10418fb7586e092aaf18bd63ed95 100644 --- a/lib/workers/global/index.js +++ b/lib/workers/global/index.js @@ -35,6 +35,16 @@ async function start() { config.prFooter = 'This PR generated by Renovate Bot. Check out [Renovate Pro](https://renovatebot.com/pro) for real-time webhook handling and more.'; } + // istanbul ignore if + if ( + config.platform === 'gitlab' && + config.endpoint && + !config.endpoint.startsWith('https://gitlab.com/') && + !config.customPrFooter + ) { + config.prFooter = + 'Available now for GitLab: [Renovate Pro](https://renovatebot.com/pro), with real-time webhook handling and priority job queue.'; + } // Move global variables that we need to use later const importGlobals = ['exposeEnv', 'prBanner', 'prFooter']; config.global = {};