update: add GH webhook event check for "installation" type events
Compare changes
Files
6- Martin Lowe authored
Enabled by default, installation type events get triggered when the associated GH application is installed into an organization or repository. By extracting the current scheduled task to the GitHub helper, we can call this arbitrarily when there are new installations as well as handle catch-up on a regular schedule. Resolves #140
@@ -12,8 +12,11 @@
@@ -23,6 +26,7 @@ import org.eclipse.microprofile.config.inject.ConfigProperty;
@@ -30,6 +34,7 @@ import org.eclipsefoundation.git.eca.api.models.GithubWebhookRequest;
@@ -41,6 +46,7 @@ import org.eclipsefoundation.git.eca.namespace.ProviderType;
@@ -64,8 +70,8 @@ import jakarta.ws.rs.core.Response;
@@ -83,6 +89,8 @@ public class GithubValidationHelper {
@@ -352,6 +360,49 @@ public class GithubValidationHelper {
@@ -435,7 +486,43 @@ public class GithubValidationHelper {