mirror of https://github.com/renovatebot/renovate
parent
57c33c280a
commit
464ebc4277
|
@ -472,9 +472,10 @@ async function ensureIssueClosing(title) {
|
|||
logger.debug(`ensureIssueClosing()`);
|
||||
const issueList = await getIssueList();
|
||||
for (const issue of issueList) {
|
||||
logger.info({ issue }, 'Closing issue');
|
||||
if (issue.title === title) {
|
||||
await get.patch(
|
||||
`repos/${config.parentRepo || config.repoName}/issues/${issue.id}`,
|
||||
`repos/${config.parentRepo || config.repoName}/issues/${issue.number}`,
|
||||
{
|
||||
body: { state: 'closed' },
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue