mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
parent
89d4807c76
commit
936fc76ea1
1 changed files with 10 additions and 0 deletions
|
@ -68,6 +68,16 @@ const isOnboarded = async config => {
|
||||||
logger.info(
|
logger.info(
|
||||||
'Repo is not onboarded but at least one merged PR exists - treat as onboarded'
|
'Repo is not onboarded but at least one merged PR exists - treat as onboarded'
|
||||||
);
|
);
|
||||||
|
const title = `Action required: Add a ${appName} config`;
|
||||||
|
let body = `Hi,\n\nYou will need to add a config to this repository if you want ${appName} to continue creating PRs. ${appName} will soon begin skipping all repositories that don't have a valid config found, even if you've received PRs before.\n\n`;
|
||||||
|
body +=
|
||||||
|
'To keep functionality exactly the same, you can add an empty JSON config (`{}`) to your repo in any of the following files: ';
|
||||||
|
body += configFileNames
|
||||||
|
.filter(filename => filename !== 'package.json')
|
||||||
|
.map(filename => `\`${filename}\``)
|
||||||
|
.join(', ');
|
||||||
|
const once = true;
|
||||||
|
await platform.ensureIssue(title, body, once);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
logger.info('Repo is not onboarded and no merged PRs exist');
|
logger.info('Repo is not onboarded and no merged PRs exist');
|
||||||
|
|
Loading…
Reference in a new issue