Skip to content

Commit

Permalink
fix(dependency-dashboard): Don't create dependency dashboard during o…
Browse files Browse the repository at this point in the history
…nboarding (#7453)
  • Loading branch information
zharinov committed Oct 15, 2020
1 parent 22e15db commit 692eea1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/workers/repository/dependency-dashboard.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ beforeEach(() => {
config.platform = PLATFORM_TYPE_GITHUB;
config.errors = [];
config.warnings = [];
delete config.onboarding;
});

async function dryRun(
Expand Down
1 change: 1 addition & 0 deletions lib/workers/repository/dependency-dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export async function ensureMasterIssue(
// legacy/migrated issue
const reuseTitle = 'Update Dependencies (Renovate Bot)';
if (
config.onboarding ||
!(
config.dependencyDashboard ||
branches.some(
Expand Down

0 comments on commit 692eea1

Please sign in to comment.