Skip to content

Commit 02b53c1

Browse files
committed
rename Renovate Dashboard to Mend.io Dashboard
Signed-off-by: Adam Setch <[email protected]>
1 parent 601940e commit 02b53c1

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

lib/modules/platform/bitbucket/index.spec.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ describe('modules/platform/bitbucket/index', () => {
268268
});
269269
});
270270

271-
it('enabled: should set main branch status if doesnt exist', async () => {
271+
it('enabled: should set main branch status if does not exist', async () => {
272272
httpMock
273273
.scope(baseUrl)
274274
.get('/2.0/repositories/some/repo')
@@ -286,9 +286,9 @@ describe('modules/platform/bitbucket/index', () => {
286286
},
287287
})
288288
.post('/2.0/repositories/some/repo/commit/main_hash/statuses/build', {
289-
name: 'Renovate Dashboard',
289+
name: 'Mend.io Dashboard',
290290
state: 'SUCCESSFUL',
291-
key: 'Renovate Dashboard',
291+
key: 'Mend.io Dashboard',
292292
description: '',
293293
url: 'https://developer.mend.io/bitbucket/some/repo',
294294
})
@@ -314,7 +314,7 @@ describe('modules/platform/bitbucket/index', () => {
314314
state: 'SUCCESSFUL',
315315
},
316316
{
317-
key: 'Renovate Dashboard',
317+
key: 'Mend.io Dashboard',
318318
state: 'SUCCESSFUL',
319319
},
320320
],
@@ -354,7 +354,7 @@ describe('modules/platform/bitbucket/index', () => {
354354
.reply(200, {
355355
values: [
356356
{
357-
key: 'Renovate Dashboard',
357+
key: 'Mend.io Dashboard',
358358
state: 'SUCCESSFUL',
359359
},
360360
],

lib/modules/platform/bitbucket/index.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -225,17 +225,15 @@ export async function initRepo({
225225
config.defaultBranch = mainBranch;
226226

227227
if (bbMendAppDashboardStatus) {
228-
const statusName = 'Renovate Dashboard';
228+
const statusName = 'Mend.io Dashboard';
229229

230230
const mendAppDashboardStatus = await getBranchStatusCheck(
231231
config.defaultBranch,
232232
statusName,
233233
);
234234

235235
if (!mendAppDashboardStatus) {
236-
logger.debug(
237-
'Creating branch status for Mend App Repository Dashboard',
238-
);
236+
logger.debug(`Creating branch status for ${statusName}`);
239237

240238
await setBranchStatus({
241239
branchName: config.defaultBranch,

0 commit comments

Comments
 (0)