Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove pkg.version from prFingerprintConfig #21077

Merged
merged 2 commits into from
Mar 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions lib/workers/repository/update/pr/pr-fingerprint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// https://github.com/renovatebot/renovate/blob/3d85b6048d6a8c57887b64ed4929e2e02ea41aa0/lib/workers/repository/update/pr/index.ts#L294-L306

import type { UpdateType, ValidationMessage } from '../../../../config/types';
import { pkg } from '../../../../expose.cjs';
import { logger } from '../../../../logger';
import type { PrCache } from '../../../../util/cache/repository/types';
import { getElapsedHours } from '../../../../util/date';
Expand All @@ -19,9 +18,6 @@ export interface FilteredBranchUpgradeConfig {
}

export interface PrFingerprintConfig {
// Renovate Version
pkgVersion: string;

// BranchConfig - filtered
automerge?: boolean;
automergeSchedule?: string[];
Expand Down Expand Up @@ -63,7 +59,6 @@ export function generatePrFingerprintConfig(
filteredUpgrades,
hasReleaseNotes: config.hasReleaseNotes,
isPin: config.isPin,
pkgVersion: pkg.version,
prBodyTemplate: config.prBodyTemplate,
prFooter: config.prFooter,
prHeader: config.prHeader,
Expand Down