From 02d8a845d6185fe83780167e9b2f66db3f5b9475 Mon Sep 17 00:00:00 2001 From: Paul Frybarger Date: Mon, 10 Mar 2025 19:14:54 +0000 Subject: [PATCH 1/2] add missing parameter from github catalog config definition Signed-off-by: Paul Frybarger --- plugins/catalog-backend-module-github/config.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/catalog-backend-module-github/config.d.ts b/plugins/catalog-backend-module-github/config.d.ts index cc197f3ec7..c94593b985 100644 --- a/plugins/catalog-backend-module-github/config.d.ts +++ b/plugins/catalog-backend-module-github/config.d.ts @@ -71,6 +71,11 @@ export interface Config { * Default: `/catalog-info.yaml`. */ catalogPath?: string; + /** + * (Optional) Whether to validate locations that exist before emitting them. + * Default: `false`. + */ + validateLocationsExist?: boolean; /** * (Optional) Filter configuration. */ From 16648ef7acbfc2470c8b6fefa232a15b6be93653 Mon Sep 17 00:00:00 2001 From: Paul Frybarger Date: Mon, 10 Mar 2025 19:49:00 +0000 Subject: [PATCH 2/2] add changeset Signed-off-by: Paul Frybarger --- .changeset/large-kings-protect.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/large-kings-protect.md diff --git a/.changeset/large-kings-protect.md b/.changeset/large-kings-protect.md new file mode 100644 index 0000000000..363e2b7759 --- /dev/null +++ b/.changeset/large-kings-protect.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-backend-module-github': patch +--- + +Added `validateLocationsExist` to the config definition where it was missing.