Skip to content

Commit

Permalink
feat(datasource/custom): allow isStable in output (#29928)
Browse files Browse the repository at this point in the history
  • Loading branch information
amezin committed Jun 29, 2024
1 parent a6807d0 commit f921c68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/modules/datasource/custom/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ All available options:
"changelogUrl": "https://github.com/demo-org/demo/blob/main/CHANGELOG.md#v0710",
"sourceUrl": "https://github.com/demo-org/demo",
"sourceDirectory": "monorepo/folder",
"digest": "c667f758f9e46e1d8111698e8d3a181c0b10f430"
"digest": "c667f758f9e46e1d8111698e8d3a181c0b10f430",
"isStable": true
}
],
"sourceUrl": "https://github.com/demo-org/demo",
Expand Down
1 change: 1 addition & 0 deletions lib/modules/datasource/custom/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const ReleaseResultZodSchema = z.object({
sourceDirectory: z.string().optional(),
changelogUrl: z.string().optional(),
digest: z.string().optional(),
isStable: z.boolean().optional(),
})
.transform((input) => {
return {
Expand Down

0 comments on commit f921c68

Please sign in to comment.