Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions lib/modules/manager/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ export interface LookupUpdate {
libYears?: number;

version?: string;
/**
* Whether the package registry has attestation information for the given update.
*
* Renovate does NOT validate the attestation, only determine whether the field is present and set to a value.
*/
hasAttestation?: boolean;
}

/**
Expand Down Expand Up @@ -191,6 +197,12 @@ export interface PackageDependency<

mostRecentTimestamp?: Timestamp;
isAbandoned?: boolean;
/**
* Whether the package registry has attestation information for the given update.
*
* Renovate does NOT validate the attestation, only determine whether the field is present and set to a value.
*/
hasAttestation?: boolean;
}

export interface Upgrade<
Expand Down
1 change: 1 addition & 0 deletions lib/workers/repository/process/lookup/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export async function generateUpdate(
bucket,
newVersion,
newValue: null!,
hasAttestation: release.attestation,
};

// istanbul ignore if
Expand Down
Loading
Loading