diff --git a/src/main/java/org/kohsuke/github/GHEventPayload.java b/src/main/java/org/kohsuke/github/GHEventPayload.java
index bcebf0be8..7d1e0a50a 100644
--- a/src/main/java/org/kohsuke/github/GHEventPayload.java
+++ b/src/main/java/org/kohsuke/github/GHEventPayload.java
@@ -7,6 +7,7 @@ import java.io.IOException;
import java.io.Reader;
import java.util.Date;
import java.util.List;
+import java.util.Map;
/**
* Base type for types used in databinding of the event payload.
@@ -1326,4 +1327,86 @@ public class GHEventPayload extends GitHubInteractiveObject {
}
}
}
+
+ /**
+ * Occurs when someone triggered a workflow run or sends a POST request to the "Create a workflow dispatch event"
+ * endpoint.
+ *
+ * @see
+ * workflow dispatch event
+ * @see Events that
+ * trigger workflows
+ */
+ public static class WorkflowDispatch extends GHEventPayload {
+ private Map inputs;
+ private String ref;
+ private String workflow;
+
+ /**
+ * Gets the map of input parameters passed to the workflow.
+ *
+ * @return the map of input parameters
+ */
+ public Map getInputs() {
+ return inputs;
+ }
+
+ /**
+ * Gets the ref of the branch (e.g. refs/heads/main)
+ *
+ * @return the ref of the branch
+ */
+ public String getRef() {
+ return ref;
+ }
+
+ /**
+ * Gets the path of the workflow file (e.g. .github/workflows/hello-world-workflow.yml).
+ *
+ * @return the path of the workflow file
+ */
+ public String getWorkflow() {
+ return workflow;
+ }
+ }
+
+ /**
+ * A workflow run was requested or completed.
+ *
+ * @see
+ * workflow run event
+ * @see Actions Workflow Runs
+ */
+ public static class WorkflowRun extends GHEventPayload {
+ private GHWorkflowRun workflowRun;
+ private GHWorkflow workflow;
+
+ public GHWorkflowRun getWorkflowRun() {
+ return workflowRun;
+ }
+
+ public GHWorkflow getWorkflow() {
+ return workflow;
+ }
+
+ @Override
+ void wrapUp(GitHub root) {
+ super.wrapUp(root);
+ if (workflowRun == null || workflow == null) {
+ throw new IllegalStateException(
+ "Expected workflow and workflow_run payload, but got something else. Maybe we've got another type of event?");
+ }
+ GHRepository repository = getRepository();
+ if (repository != null) {
+ workflowRun.wrapUp(repository);
+ workflow.wrapUp(repository);
+ } else {
+ workflowRun.wrapUp(root);
+ workflow.wrapUp(root);
+ }
+ }
+ }
}
diff --git a/src/main/java/org/kohsuke/github/GHWorkflowRun.java b/src/main/java/org/kohsuke/github/GHWorkflowRun.java
index 6574965a8..843f465c0 100644
--- a/src/main/java/org/kohsuke/github/GHWorkflowRun.java
+++ b/src/main/java/org/kohsuke/github/GHWorkflowRun.java
@@ -6,7 +6,10 @@ import org.kohsuke.github.internal.EnumUtils;
import java.io.IOException;
import java.net.URL;
+import java.util.Arrays;
+import java.util.Collections;
import java.util.Date;
+import java.util.List;
import java.util.Locale;
import java.util.Objects;
@@ -43,10 +46,7 @@ public class GHWorkflowRun extends GHObject {
private String status;
private String conclusion;
- // TODO GHWorkflowRun
- /*
- * "pull_requests": [],
- */
+ private GHPullRequest[] pullRequests;
/**
* The name of the workflow run.
@@ -210,6 +210,27 @@ public class GHWorkflowRun extends GHObject {
return Conclusion.from(conclusion);
}
+ /**
+ * Gets the pull requests participated in this workflow run.
+ *
+ * Note this field is only populated for events. When getting a {@link GHWorkflowRun} outside of an event, this is
+ * always empty.
+ *
+ * @return the list of {@link GHPullRequest}s for this workflow run. Only populated for events.
+ * @throws IOException
+ * the io exception
+ */
+ public List getPullRequests() throws IOException {
+ if (pullRequests != null && pullRequests.length != 0) {
+ for (GHPullRequest pullRequest : pullRequests) {
+ // Only refresh if we haven't do so before
+ pullRequest.refresh(pullRequest.getTitle());
+ }
+ return Collections.unmodifiableList(Arrays.asList(pullRequests));
+ }
+ return Collections.emptyList();
+ }
+
/**
* Cancel the workflow run.
*
@@ -257,10 +278,21 @@ public class GHWorkflowRun extends GHObject {
GHWorkflowRun wrapUp(GitHub root) {
this.root = root;
- if (owner != null)
+ if (owner != null) {
owner.wrap(root);
- if (headRepository != null)
+ if (pullRequests != null) {
+ for (GHPullRequest singlePull : pullRequests) {
+ singlePull.wrap(owner);
+ }
+ }
+ } else if (pullRequests != null) {
+ for (GHPullRequest singlePull : pullRequests) {
+ singlePull.wrap(root);
+ }
+ }
+ if (headRepository != null) {
headRepository.wrap(root);
+ }
return this;
}
diff --git a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java
index 8058ff653..6adb4e75e 100644
--- a/src/test/java/org/kohsuke/github/GHEventPayloadTest.java
+++ b/src/test/java/org/kohsuke/github/GHEventPayloadTest.java
@@ -8,10 +8,20 @@ import org.kohsuke.github.GHCheckRun.Status;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Collections;
+import java.util.List;
import java.util.TimeZone;
import static java.lang.Boolean.TRUE;
-import static org.hamcrest.Matchers.*;
+import static org.hamcrest.Matchers.aMapWithSize;
+import static org.hamcrest.Matchers.contains;
+import static org.hamcrest.Matchers.endsWith;
+import static org.hamcrest.Matchers.equalTo;
+import static org.hamcrest.Matchers.hasToString;
+import static org.hamcrest.Matchers.is;
+import static org.hamcrest.Matchers.lessThanOrEqualTo;
+import static org.hamcrest.Matchers.notNullValue;
+import static org.hamcrest.Matchers.nullValue;
+import static org.hamcrest.Matchers.startsWith;
public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
@@ -695,4 +705,104 @@ public class GHEventPayloadTest extends AbstractGitHubWireMockTest {
assertThat(event.getSender().getLogin(), is("octocat"));
}
+
+ @Test
+ public void workflow_dispatch() throws Exception {
+ GHEventPayload.WorkflowDispatch workflowDispatchPayload = GitHub.offline()
+ .parseEventPayload(payload.asReader(), GHEventPayload.WorkflowDispatch.class);
+
+ assertThat(workflowDispatchPayload.getRef(), is("refs/heads/main"));
+ assertThat(workflowDispatchPayload.getAction(), is(nullValue()));
+ assertThat(workflowDispatchPayload.getWorkflow(), is(".github/workflows/main.yml"));
+ assertThat(workflowDispatchPayload.getInputs(), aMapWithSize(1));
+ assertThat(workflowDispatchPayload.getInputs().keySet(), contains("logLevel"));
+ assertThat(workflowDispatchPayload.getInputs().values(), contains("warning"));
+ assertThat(workflowDispatchPayload.getRepository().getName(), is("quarkus-bot-java-playground"));
+ assertThat(workflowDispatchPayload.getSender().getLogin(), is("gsmet"));
+ }
+
+ @Test
+ public void workflow_run() throws Exception {
+ GHEventPayload.WorkflowRun workflowRunPayload = GitHub.offline()
+ .parseEventPayload(payload.asReader(), GHEventPayload.WorkflowRun.class);
+
+ assertThat(workflowRunPayload.getAction(), is("completed"));
+ assertThat(workflowRunPayload.getRepository().getFullName(), is("gsmet/quarkus-bot-java-playground"));
+ assertThat(workflowRunPayload.getSender().getLogin(), is("gsmet"));
+
+ GHWorkflow workflow = workflowRunPayload.getWorkflow();
+ assertThat(workflow.getId(), is(7087581L));
+ assertThat(workflow.getName(), is("CI"));
+ assertThat(workflow.getPath(), is(".github/workflows/main.yml"));
+ assertThat(workflow.getState(), is("active"));
+ assertThat(workflow.getUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581"));
+ assertThat(workflow.getHtmlUrl().toString(),
+ is("https://github.com/gsmet/quarkus-bot-java-playground/blob/main/.github/workflows/main.yml"));
+ assertThat(workflow.getBadgeUrl().toString(),
+ is("https://github.com/gsmet/quarkus-bot-java-playground/workflows/CI/badge.svg"));
+
+ GHWorkflowRun workflowRun = workflowRunPayload.getWorkflowRun();
+ assertThat(workflowRun.getId(), is(680604745L));
+ assertThat(workflowRun.getName(), is("CI"));
+ assertThat(workflowRun.getHeadBranch(), is("main"));
+ assertThat(workflowRun.getHeadSha(), is("dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423"));
+ assertThat(workflowRun.getRunNumber(), is(6L));
+ assertThat(workflowRun.getEvent(), is(GHEvent.WORKFLOW_DISPATCH));
+ assertThat(workflowRun.getStatus(), is(GHWorkflowRun.Status.COMPLETED));
+ assertThat(workflowRun.getConclusion(), is(GHWorkflowRun.Conclusion.SUCCESS));
+ assertThat(workflowRun.getWorkflowId(), is(7087581L));
+ assertThat(workflowRun.getUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745"));
+ assertThat(workflowRun.getHtmlUrl().toString(),
+ is("https://github.com/gsmet/quarkus-bot-java-playground/actions/runs/680604745"));
+ assertThat(workflowRun.getJobsUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/jobs"));
+ assertThat(workflowRun.getLogsUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/logs"));
+ assertThat(workflowRun.getCheckSuiteUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/check-suites/2327154397"));
+ assertThat(workflowRun.getArtifactsUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/artifacts"));
+ assertThat(workflowRun.getCancelUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/cancel"));
+ assertThat(workflowRun.getRerunUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/rerun"));
+ assertThat(workflowRun.getWorkflowUrl().toString(),
+ is("https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581"));
+ assertThat(workflowRun.getCreatedAt().getTime(), is(1616524526000L));
+ assertThat(workflowRun.getUpdatedAt().getTime(), is(1616524543000L));
+ assertThat(workflowRun.getHeadCommit().getId(), is("dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423"));
+ assertThat(workflowRun.getHeadCommit().getTreeId(), is("b17089e6a2574ec1002566fe980923e62dce3026"));
+ assertThat(workflowRun.getHeadCommit().getMessage(), is("Update main.yml"));
+ assertThat(workflowRun.getHeadCommit().getTimestamp().getTime(), is(1616523390000L));
+ assertThat(workflowRun.getHeadCommit().getAuthor().getName(), is("Guillaume Smet"));
+ assertThat(workflowRun.getHeadCommit().getAuthor().getEmail(), is("guillaume.smet@gmail.com"));
+ assertThat(workflowRun.getHeadCommit().getCommitter().getName(), is("GitHub"));
+ assertThat(workflowRun.getHeadCommit().getCommitter().getEmail(), is("noreply@github.com"));
+ assertThat(workflowRun.getHeadRepository().getFullName(), is("gsmet/quarkus-bot-java-playground"));
+ }
+
+ @Test
+ public void workflow_run_pull_request() throws Exception {
+ GHEventPayload.WorkflowRun workflowRunPayload = GitHub.offline()
+ .parseEventPayload(payload.asReader(), GHEventPayload.WorkflowRun.class);
+
+ List pullRequests = workflowRunPayload.getWorkflowRun().getPullRequests();
+ assertThat(pullRequests.size(), is(1));
+
+ GHPullRequest pullRequest = pullRequests.get(0);
+ assertThat(pullRequest.getId(), is(599098265L));
+ }
+
+ @Test
+ public void workflow_run_other_repository() throws Exception {
+ GHEventPayload.WorkflowRun workflowRunPayload = GitHub.offline()
+ .parseEventPayload(payload.asReader(), GHEventPayload.WorkflowRun.class);
+ GHWorkflowRun workflowRun = workflowRunPayload.getWorkflowRun();
+
+ assertThat(workflowRunPayload.getRepository().getFullName(), is("gsmet/quarkus-bot-java-playground"));
+ assertThat(workflowRun.getHeadRepository().getFullName(),
+ is("gsmet-bot-playground/quarkus-bot-java-playground"));
+ }
}
diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_dispatch.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_dispatch.json
new file mode 100644
index 000000000..db977800c
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_dispatch.json
@@ -0,0 +1,125 @@
+{
+ "ref": "refs/heads/main",
+ "workflow": ".github/workflows/main.yml",
+ "inputs": {
+ "logLevel": "warning"
+ },
+ "repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": true,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments",
+ "created_at": "2020-11-16T17:55:53Z",
+ "updated_at": "2021-03-23T18:16:32Z",
+ "pushed_at": "2021-03-23T18:16:30Z",
+ "git_url": "git://github.com/gsmet/quarkus-bot-java-playground.git",
+ "ssh_url": "git@github.com:gsmet/quarkus-bot-java-playground.git",
+ "clone_url": "https://github.com/gsmet/quarkus-bot-java-playground.git",
+ "svn_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "homepage": null,
+ "size": 13,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": null,
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 17,
+ "license": null,
+ "forks": 1,
+ "open_issues": 17,
+ "watchers": 0,
+ "default_branch": "main"
+ },
+ "sender": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 13005535,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMwMDU1MzU="
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run.json
new file mode 100644
index 000000000..1e4f2d6ef
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run.json
@@ -0,0 +1,307 @@
+{
+ "action": "completed",
+ "workflow_run": {
+ "id": 680604745,
+ "name": "CI",
+ "node_id": "MDExOldvcmtmbG93UnVuNjgwNjA0NzQ1",
+ "head_branch": "main",
+ "head_sha": "dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423",
+ "run_number": 6,
+ "event": "workflow_dispatch",
+ "status": "completed",
+ "conclusion": "success",
+ "workflow_id": 7087581,
+ "check_suite_id": 2327154397,
+ "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMzI3MTU0Mzk3",
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745",
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground/actions/runs/680604745",
+ "pull_requests": [],
+ "created_at": "2021-03-23T18:35:26Z",
+ "updated_at": "2021-03-23T18:35:43Z",
+ "jobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/jobs",
+ "logs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/logs",
+ "check_suite_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/check-suites/2327154397",
+ "artifacts_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/artifacts",
+ "cancel_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/cancel",
+ "rerun_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680604745/rerun",
+ "workflow_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581",
+ "head_commit": {
+ "id": "dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423",
+ "tree_id": "b17089e6a2574ec1002566fe980923e62dce3026",
+ "message": "Update main.yml",
+ "timestamp": "2021-03-23T18:16:30Z",
+ "author": {
+ "name": "Guillaume Smet",
+ "email": "guillaume.smet@gmail.com"
+ },
+ "committer": {
+ "name": "GitHub",
+ "email": "noreply@github.com"
+ }
+ },
+ "repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": true,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments"
+ },
+ "head_repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": true,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments"
+ }
+ },
+ "workflow": {
+ "id": 7087581,
+ "node_id": "MDg6V29ya2Zsb3c3MDg3NTgx",
+ "name": "CI",
+ "path": ".github/workflows/main.yml",
+ "state": "active",
+ "created_at": "2021-03-23T17:35:28.000Z",
+ "updated_at": "2021-03-23T18:16:30.000Z",
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581",
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground/blob/main/.github/workflows/main.yml",
+ "badge_url": "https://github.com/gsmet/quarkus-bot-java-playground/workflows/CI/badge.svg"
+ },
+ "repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": true,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments",
+ "created_at": "2020-11-16T17:55:53Z",
+ "updated_at": "2021-03-23T18:16:32Z",
+ "pushed_at": "2021-03-23T18:16:30Z",
+ "git_url": "git://github.com/gsmet/quarkus-bot-java-playground.git",
+ "ssh_url": "git@github.com:gsmet/quarkus-bot-java-playground.git",
+ "clone_url": "https://github.com/gsmet/quarkus-bot-java-playground.git",
+ "svn_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "homepage": null,
+ "size": 19,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": null,
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 17,
+ "license": null,
+ "forks": 1,
+ "open_issues": 17,
+ "watchers": 0,
+ "default_branch": "main"
+ },
+ "sender": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 13005535,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMwMDU1MzU="
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run_other_repository.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run_other_repository.json
new file mode 100644
index 000000000..edc887006
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run_other_repository.json
@@ -0,0 +1,307 @@
+{
+ "action": "completed",
+ "workflow_run": {
+ "id": 680659312,
+ "name": "CI",
+ "node_id": "MDExOldvcmtmbG93UnVuNjgwNjU5MzEy",
+ "head_branch": "test2",
+ "head_sha": "6f0b5a9c2c4caea39f73a4f5f4dbee093265ab2a",
+ "run_number": 9,
+ "event": "pull_request",
+ "status": "completed",
+ "conclusion": "success",
+ "workflow_id": 7087581,
+ "check_suite_id": 2327310795,
+ "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMzI3MzEwNzk1",
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680659312",
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground/actions/runs/680659312",
+ "pull_requests": [],
+ "created_at": "2021-03-23T18:56:41Z",
+ "updated_at": "2021-03-23T18:56:59Z",
+ "jobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680659312/jobs",
+ "logs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680659312/logs",
+ "check_suite_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/check-suites/2327310795",
+ "artifacts_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680659312/artifacts",
+ "cancel_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680659312/cancel",
+ "rerun_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680659312/rerun",
+ "workflow_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581",
+ "head_commit": {
+ "id": "6f0b5a9c2c4caea39f73a4f5f4dbee093265ab2a",
+ "tree_id": "3656cb19881f8d80fdc6b0a2fa962e881cf5e559",
+ "message": "Trigger CI",
+ "timestamp": "2021-03-23T18:46:09Z",
+ "author": {
+ "name": "Guillaume Smet",
+ "email": "guillaume.smet@gmail.com"
+ },
+ "committer": {
+ "name": "Guillaume Smet",
+ "email": "guillaume.smet@gmail.com"
+ }
+ },
+ "repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": false,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments"
+ },
+ "head_repository": {
+ "id": 350823363,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzNTA4MjMzNjM=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet-bot-playground/quarkus-bot-java-playground",
+ "private": false,
+ "owner": {
+ "login": "gsmet-bot-playground",
+ "id": 81260024,
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjgxMjYwMDI0",
+ "avatar_url": "https://avatars.githubusercontent.com/u/81260024?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet-bot-playground",
+ "html_url": "https://github.com/gsmet-bot-playground",
+ "followers_url": "https://api.github.com/users/gsmet-bot-playground/followers",
+ "following_url": "https://api.github.com/users/gsmet-bot-playground/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet-bot-playground/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet-bot-playground/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet-bot-playground/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet-bot-playground/orgs",
+ "repos_url": "https://api.github.com/users/gsmet-bot-playground/repos",
+ "events_url": "https://api.github.com/users/gsmet-bot-playground/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet-bot-playground/received_events",
+ "type": "Organization",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet-bot-playground/quarkus-bot-java-playground",
+ "description": null,
+ "fork": true,
+ "url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet-bot-playground/quarkus-bot-java-playground/deployments"
+ }
+ },
+ "workflow": {
+ "id": 7087581,
+ "node_id": "MDg6V29ya2Zsb3c3MDg3NTgx",
+ "name": "CI",
+ "path": ".github/workflows/main.yml",
+ "state": "active",
+ "created_at": "2021-03-23T17:35:28.000Z",
+ "updated_at": "2021-03-23T18:16:30.000Z",
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581",
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground/blob/main/.github/workflows/main.yml",
+ "badge_url": "https://github.com/gsmet/quarkus-bot-java-playground/workflows/CI/badge.svg"
+ },
+ "repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": false,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments",
+ "created_at": "2020-11-16T17:55:53Z",
+ "updated_at": "2021-03-23T18:52:02Z",
+ "pushed_at": "2021-03-23T18:56:39Z",
+ "git_url": "git://github.com/gsmet/quarkus-bot-java-playground.git",
+ "ssh_url": "git@github.com:gsmet/quarkus-bot-java-playground.git",
+ "clone_url": "https://github.com/gsmet/quarkus-bot-java-playground.git",
+ "svn_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "homepage": null,
+ "size": 19,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": null,
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 20,
+ "license": null,
+ "forks": 1,
+ "open_issues": 20,
+ "watchers": 0,
+ "default_branch": "main"
+ },
+ "sender": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 13005535,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMwMDU1MzU="
+ }
+}
\ No newline at end of file
diff --git a/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run_pull_request.json b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run_pull_request.json
new file mode 100644
index 000000000..c7616bede
--- /dev/null
+++ b/src/test/resources/org/kohsuke/github/GHEventPayloadTest/workflow_run_pull_request.json
@@ -0,0 +1,331 @@
+{
+ "action": "completed",
+ "workflow_run": {
+ "id": 680634037,
+ "name": "CI",
+ "node_id": "MDExOldvcmtmbG93UnVuNjgwNjM0MDM3",
+ "head_branch": "test",
+ "head_sha": "6f0b5a9c2c4caea39f73a4f5f4dbee093265ab2a",
+ "run_number": 7,
+ "event": "pull_request",
+ "status": "completed",
+ "conclusion": "success",
+ "workflow_id": 7087581,
+ "check_suite_id": 2327238782,
+ "check_suite_node_id": "MDEwOkNoZWNrU3VpdGUyMzI3MjM4Nzgy",
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680634037",
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground/actions/runs/680634037",
+ "pull_requests": [
+ {
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls/46",
+ "id": 599098265,
+ "number": 46,
+ "head": {
+ "ref": "test",
+ "sha": "6f0b5a9c2c4caea39f73a4f5f4dbee093265ab2a",
+ "repo": {
+ "id": 313384129,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "name": "quarkus-bot-java-playground"
+ }
+ },
+ "base": {
+ "ref": "main",
+ "sha": "dbea8d8b6ed2cf764dfd84a215f3f9040b3d4423",
+ "repo": {
+ "id": 313384129,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "name": "quarkus-bot-java-playground"
+ }
+ }
+ }
+ ],
+ "created_at": "2021-03-23T18:46:50Z",
+ "updated_at": "2021-03-23T18:47:08Z",
+ "jobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680634037/jobs",
+ "logs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680634037/logs",
+ "check_suite_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/check-suites/2327238782",
+ "artifacts_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680634037/artifacts",
+ "cancel_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680634037/cancel",
+ "rerun_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/runs/680634037/rerun",
+ "workflow_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581",
+ "head_commit": {
+ "id": "6f0b5a9c2c4caea39f73a4f5f4dbee093265ab2a",
+ "tree_id": "3656cb19881f8d80fdc6b0a2fa962e881cf5e559",
+ "message": "Trigger CI",
+ "timestamp": "2021-03-23T18:46:09Z",
+ "author": {
+ "name": "Guillaume Smet",
+ "email": "guillaume.smet@gmail.com"
+ },
+ "committer": {
+ "name": "Guillaume Smet",
+ "email": "guillaume.smet@gmail.com"
+ }
+ },
+ "repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": true,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments"
+ },
+ "head_repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": true,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments"
+ }
+ },
+ "workflow": {
+ "id": 7087581,
+ "node_id": "MDg6V29ya2Zsb3c3MDg3NTgx",
+ "name": "CI",
+ "path": ".github/workflows/main.yml",
+ "state": "active",
+ "created_at": "2021-03-23T17:35:28.000Z",
+ "updated_at": "2021-03-23T18:16:30.000Z",
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/actions/workflows/7087581",
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground/blob/main/.github/workflows/main.yml",
+ "badge_url": "https://github.com/gsmet/quarkus-bot-java-playground/workflows/CI/badge.svg"
+ },
+ "repository": {
+ "id": 313384129,
+ "node_id": "MDEwOlJlcG9zaXRvcnkzMTMzODQxMjk=",
+ "name": "quarkus-bot-java-playground",
+ "full_name": "gsmet/quarkus-bot-java-playground",
+ "private": true,
+ "owner": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "html_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "description": null,
+ "fork": false,
+ "url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground",
+ "forks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/forks",
+ "keys_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/teams",
+ "hooks_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/hooks",
+ "issue_events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/events",
+ "assignees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/tags",
+ "blobs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/languages",
+ "stargazers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/stargazers",
+ "contributors_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contributors",
+ "subscribers_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscribers",
+ "subscription_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/subscription",
+ "commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/merges",
+ "archive_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/downloads",
+ "issues_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/labels{/name}",
+ "releases_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/gsmet/quarkus-bot-java-playground/deployments",
+ "created_at": "2020-11-16T17:55:53Z",
+ "updated_at": "2021-03-23T18:16:32Z",
+ "pushed_at": "2021-03-23T18:46:48Z",
+ "git_url": "git://github.com/gsmet/quarkus-bot-java-playground.git",
+ "ssh_url": "git@github.com:gsmet/quarkus-bot-java-playground.git",
+ "clone_url": "https://github.com/gsmet/quarkus-bot-java-playground.git",
+ "svn_url": "https://github.com/gsmet/quarkus-bot-java-playground",
+ "homepage": null,
+ "size": 19,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": null,
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "disabled": false,
+ "open_issues_count": 18,
+ "license": null,
+ "forks": 1,
+ "open_issues": 18,
+ "watchers": 0,
+ "default_branch": "main"
+ },
+ "sender": {
+ "login": "gsmet",
+ "id": 1279749,
+ "node_id": "MDQ6VXNlcjEyNzk3NDk=",
+ "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/gsmet",
+ "html_url": "https://github.com/gsmet",
+ "followers_url": "https://api.github.com/users/gsmet/followers",
+ "following_url": "https://api.github.com/users/gsmet/following{/other_user}",
+ "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions",
+ "organizations_url": "https://api.github.com/users/gsmet/orgs",
+ "repos_url": "https://api.github.com/users/gsmet/repos",
+ "events_url": "https://api.github.com/users/gsmet/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/gsmet/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "installation": {
+ "id": 13005535,
+ "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTMwMDU1MzU="
+ }
+}
\ No newline at end of file