Merge pull request #33601 from thomvaill/github-provider-fix-validateLocationsExist-with-branch-filter

fix(github-provider): `validateLocationsExist: true` + `filters.branch` bug [contribfest]
This commit is contained in:
Patrik Oldsberg
2026-03-29 12:14:23 +02:00
committed by GitHub
5 changed files with 117 additions and 7 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
Fixed a bug where `GithubEntityProvider` with `validateLocationsExist: true` and `filters.branch` configured would always check for the catalog file on the repository's default branch (`HEAD`) instead of the configured branch. This caused repositories to be filtered out when the catalog file only existed on the non-default branch.