Merge pull request #14758 from angeliski/add-github-event-handler

Implements EventSubscriber in GithubEntityProvider
This commit is contained in:
Johan Haals
2022-11-25 15:54:52 +01:00
committed by GitHub
7 changed files with 648 additions and 24 deletions
+14
View File
@@ -0,0 +1,14 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
Handle GitHub `push` events at the `GithubEntityProvider` by subscribing to the topic `github.push.`
Implements `EventSubscriber` to receive events for the topic `github.push`.
On `github.push`, the affected repository will be refreshed.
This includes adding new Location entities, refreshing existing ones,
and removing obsolete ones.
Please find more information at
https://backstage.io/docs/integrations/github/discovery#installation-with-events-support