Skip to content
Snippets Groups Projects

Iss #143 - Handle Status event by making PR in hook optional but checked

Merged Iss #143 - Handle Status event by making PR in hook optional but checked
Merged Martin Lowe requested to merge (removed):malowe/main/143 into main
2 files
+ 24
7
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -11,6 +11,8 @@
*/
package org.eclipsefoundation.git.eca.api.models;
import javax.annotation.Nullable;
import org.eclipsefoundation.git.eca.dto.GithubWebhookTracking;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
@@ -31,6 +33,7 @@ public abstract class GithubWebhookRequest {
public abstract Repository getRepository();
@Nullable
public abstract PullRequest getPullRequest();
/**
@@ -73,7 +76,7 @@ public abstract class GithubWebhookRequest {
public abstract Builder setRepository(Repository repository);
public abstract Builder setPullRequest(PullRequest pullRequest);
public abstract Builder setPullRequest(@Nullable PullRequest pullRequest);
public abstract GithubWebhookRequest build();
}
Loading