Sample Pull Request Payload

{
  "action": "opened",
  "number": 521,
  "pull_request": {
    "url": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/521",
    "id": 637612639,
    "node_id": "MDExOlB1bGxSZXF1ZXN0NjM3NjEyNjM5",
    "html_url": "https://github.com/JeffersonLab/halld_recon/pull/521",
    "diff_url": "https://github.com/JeffersonLab/halld_recon/pull/521.diff",
    "patch_url": "https://github.com/JeffersonLab/halld_recon/pull/521.patch",
    "issue_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/521",
    "number": 521,
    "state": "open",
    "locked": false,
    "title": "Pull request test test mmi",
    "user": {
      "login": "markito3",
      "id": 5664701,
      "node_id": "MDQ6VXNlcjU2NjQ3MDE=",
      "avatar_url": "https://avatars.githubusercontent.com/u/5664701?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/markito3",
      "html_url": "https://github.com/markito3",
      "followers_url": "https://api.github.com/users/markito3/followers",
      "following_url": "https://api.github.com/users/markito3/following{/other_user}",
      "gists_url": "https://api.github.com/users/markito3/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/markito3/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/markito3/subscriptions",
      "organizations_url": "https://api.github.com/users/markito3/orgs",
      "repos_url": "https://api.github.com/users/markito3/repos",
      "events_url": "https://api.github.com/users/markito3/events{/privacy}",
      "received_events_url": "https://api.github.com/users/markito3/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "Please ignore. Test of pull request coming from outside JeffersonLab organization. Do not merge.",
    "created_at": "2021-05-10T13:21:08Z",
    "updated_at": "2021-05-10T13:21:08Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": null,
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [

    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/521/commits",
    "review_comments_url": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/521/comments",
    "review_comment_url": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/521/comments",
    "statuses_url": "https://api.github.com/repos/JeffersonLab/halld_recon/statuses/f377db8aef0e8376b10acbf3d417a81546f91384",
    "head": {
      "label": "markito3:pull_request_test_test_MMI",
      "ref": "pull_request_test_test_MMI",
      "sha": "f377db8aef0e8376b10acbf3d417a81546f91384",
      "user": {
        "login": "markito3",
        "id": 5664701,
        "node_id": "MDQ6VXNlcjU2NjQ3MDE=",
        "avatar_url": "https://avatars.githubusercontent.com/u/5664701?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/markito3",
        "html_url": "https://github.com/markito3",
        "followers_url": "https://api.github.com/users/markito3/followers",
        "following_url": "https://api.github.com/users/markito3/following{/other_user}",
        "gists_url": "https://api.github.com/users/markito3/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/markito3/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/markito3/subscriptions",
        "organizations_url": "https://api.github.com/users/markito3/orgs",
        "repos_url": "https://api.github.com/users/markito3/repos",
        "events_url": "https://api.github.com/users/markito3/events{/privacy}",
        "received_events_url": "https://api.github.com/users/markito3/received_events",
        "type": "User",
        "site_admin": false
      },
      "repo": {
        "id": 254724782,
        "node_id": "MDEwOlJlcG9zaXRvcnkyNTQ3MjQ3ODI=",
        "name": "halld_recon",
        "full_name": "markito3/halld_recon",
        "private": false,
        "owner": {
          "login": "markito3",
          "id": 5664701,
          "node_id": "MDQ6VXNlcjU2NjQ3MDE=",
          "avatar_url": "https://avatars.githubusercontent.com/u/5664701?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/markito3",
          "html_url": "https://github.com/markito3",
          "followers_url": "https://api.github.com/users/markito3/followers",
          "following_url": "https://api.github.com/users/markito3/following{/other_user}",
          "gists_url": "https://api.github.com/users/markito3/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/markito3/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/markito3/subscriptions",
          "organizations_url": "https://api.github.com/users/markito3/orgs",
          "repos_url": "https://api.github.com/users/markito3/repos",
          "events_url": "https://api.github.com/users/markito3/events{/privacy}",
          "received_events_url": "https://api.github.com/users/markito3/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/markito3/halld_recon",
        "description": "Reconstruction for the GlueX Detector",
        "fork": true,
        "url": "https://api.github.com/repos/markito3/halld_recon",
        "forks_url": "https://api.github.com/repos/markito3/halld_recon/forks",
        "keys_url": "https://api.github.com/repos/markito3/halld_recon/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/markito3/halld_recon/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/markito3/halld_recon/teams",
        "hooks_url": "https://api.github.com/repos/markito3/halld_recon/hooks",
        "issue_events_url": "https://api.github.com/repos/markito3/halld_recon/issues/events{/number}",
        "events_url": "https://api.github.com/repos/markito3/halld_recon/events",
        "assignees_url": "https://api.github.com/repos/markito3/halld_recon/assignees{/user}",
        "branches_url": "https://api.github.com/repos/markito3/halld_recon/branches{/branch}",
        "tags_url": "https://api.github.com/repos/markito3/halld_recon/tags",
        "blobs_url": "https://api.github.com/repos/markito3/halld_recon/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/markito3/halld_recon/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/markito3/halld_recon/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/markito3/halld_recon/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/markito3/halld_recon/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/markito3/halld_recon/languages",
        "stargazers_url": "https://api.github.com/repos/markito3/halld_recon/stargazers",
        "contributors_url": "https://api.github.com/repos/markito3/halld_recon/contributors",
        "subscribers_url": "https://api.github.com/repos/markito3/halld_recon/subscribers",
        "subscription_url": "https://api.github.com/repos/markito3/halld_recon/subscription",
        "commits_url": "https://api.github.com/repos/markito3/halld_recon/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/markito3/halld_recon/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/markito3/halld_recon/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/markito3/halld_recon/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/markito3/halld_recon/contents/{+path}",
        "compare_url": "https://api.github.com/repos/markito3/halld_recon/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/markito3/halld_recon/merges",
        "archive_url": "https://api.github.com/repos/markito3/halld_recon/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/markito3/halld_recon/downloads",
        "issues_url": "https://api.github.com/repos/markito3/halld_recon/issues{/number}",
        "pulls_url": "https://api.github.com/repos/markito3/halld_recon/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/markito3/halld_recon/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/markito3/halld_recon/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/markito3/halld_recon/labels{/name}",
        "releases_url": "https://api.github.com/repos/markito3/halld_recon/releases{/id}",
        "deployments_url": "https://api.github.com/repos/markito3/halld_recon/deployments",
        "created_at": "2020-04-10T20:00:28Z",
        "updated_at": "2021-04-14T21:28:52Z",
        "pushed_at": "2021-05-10T13:19:11Z",
        "git_url": "git://github.com/markito3/halld_recon.git",
        "ssh_url": "git@github.com:markito3/halld_recon.git",
        "clone_url": "https://github.com/markito3/halld_recon.git",
        "svn_url": "https://github.com/markito3/halld_recon",
        "homepage": null,
        "size": 168389,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "C++",
        "has_issues": false,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 0,
        "license": null,
        "forks": 0,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "delete_branch_on_merge": false
      }
    },
    "base": {
      "label": "JeffersonLab:master",
      "ref": "master",
      "sha": "c123eed6dd8a204cae0be438caa834fd87a5de2e",
      "user": {
        "login": "JeffersonLab",
        "id": 5191128,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjUxOTExMjg=",
        "avatar_url": "https://avatars.githubusercontent.com/u/5191128?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/JeffersonLab",
        "html_url": "https://github.com/JeffersonLab",
        "followers_url": "https://api.github.com/users/JeffersonLab/followers",
        "following_url": "https://api.github.com/users/JeffersonLab/following{/other_user}",
        "gists_url": "https://api.github.com/users/JeffersonLab/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/JeffersonLab/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/JeffersonLab/subscriptions",
        "organizations_url": "https://api.github.com/users/JeffersonLab/orgs",
        "repos_url": "https://api.github.com/users/JeffersonLab/repos",
        "events_url": "https://api.github.com/users/JeffersonLab/events{/privacy}",
        "received_events_url": "https://api.github.com/users/JeffersonLab/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 142928270,
        "node_id": "MDEwOlJlcG9zaXRvcnkxNDI5MjgyNzA=",
        "name": "halld_recon",
        "full_name": "JeffersonLab/halld_recon",
        "private": false,
        "owner": {
          "login": "JeffersonLab",
          "id": 5191128,
          "node_id": "MDEyOk9yZ2FuaXphdGlvbjUxOTExMjg=",
          "avatar_url": "https://avatars.githubusercontent.com/u/5191128?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/JeffersonLab",
          "html_url": "https://github.com/JeffersonLab",
          "followers_url": "https://api.github.com/users/JeffersonLab/followers",
          "following_url": "https://api.github.com/users/JeffersonLab/following{/other_user}",
          "gists_url": "https://api.github.com/users/JeffersonLab/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/JeffersonLab/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/JeffersonLab/subscriptions",
          "organizations_url": "https://api.github.com/users/JeffersonLab/orgs",
          "repos_url": "https://api.github.com/users/JeffersonLab/repos",
          "events_url": "https://api.github.com/users/JeffersonLab/events{/privacy}",
          "received_events_url": "https://api.github.com/users/JeffersonLab/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "html_url": "https://github.com/JeffersonLab/halld_recon",
        "description": "Reconstruction for the GlueX Detector",
        "fork": false,
        "url": "https://api.github.com/repos/JeffersonLab/halld_recon",
        "forks_url": "https://api.github.com/repos/JeffersonLab/halld_recon/forks",
        "keys_url": "https://api.github.com/repos/JeffersonLab/halld_recon/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/JeffersonLab/halld_recon/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/JeffersonLab/halld_recon/teams",
        "hooks_url": "https://api.github.com/repos/JeffersonLab/halld_recon/hooks",
        "issue_events_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/events{/number}",
        "events_url": "https://api.github.com/repos/JeffersonLab/halld_recon/events",
        "assignees_url": "https://api.github.com/repos/JeffersonLab/halld_recon/assignees{/user}",
        "branches_url": "https://api.github.com/repos/JeffersonLab/halld_recon/branches{/branch}",
        "tags_url": "https://api.github.com/repos/JeffersonLab/halld_recon/tags",
        "blobs_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/JeffersonLab/halld_recon/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/JeffersonLab/halld_recon/languages",
        "stargazers_url": "https://api.github.com/repos/JeffersonLab/halld_recon/stargazers",
        "contributors_url": "https://api.github.com/repos/JeffersonLab/halld_recon/contributors",
        "subscribers_url": "https://api.github.com/repos/JeffersonLab/halld_recon/subscribers",
        "subscription_url": "https://api.github.com/repos/JeffersonLab/halld_recon/subscription",
        "commits_url": "https://api.github.com/repos/JeffersonLab/halld_recon/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/JeffersonLab/halld_recon/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/JeffersonLab/halld_recon/contents/{+path}",
        "compare_url": "https://api.github.com/repos/JeffersonLab/halld_recon/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/JeffersonLab/halld_recon/merges",
        "archive_url": "https://api.github.com/repos/JeffersonLab/halld_recon/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/JeffersonLab/halld_recon/downloads",
        "issues_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues{/number}",
        "pulls_url": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/JeffersonLab/halld_recon/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/JeffersonLab/halld_recon/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/JeffersonLab/halld_recon/labels{/name}",
        "releases_url": "https://api.github.com/repos/JeffersonLab/halld_recon/releases{/id}",
        "deployments_url": "https://api.github.com/repos/JeffersonLab/halld_recon/deployments",
        "created_at": "2018-07-30T21:06:59Z",
        "updated_at": "2021-05-04T18:25:45Z",
        "pushed_at": "2021-05-10T13:21:08Z",
        "git_url": "git://github.com/JeffersonLab/halld_recon.git",
        "ssh_url": "git@github.com:JeffersonLab/halld_recon.git",
        "clone_url": "https://github.com/JeffersonLab/halld_recon.git",
        "svn_url": "https://github.com/JeffersonLab/halld_recon",
        "homepage": null,
        "size": 169282,
        "stargazers_count": 1,
        "watchers_count": 1,
        "language": "C++",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "forks_count": 7,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 30,
        "license": null,
        "forks": 7,
        "open_issues": 30,
        "watchers": 1,
        "default_branch": "master",
        "allow_squash_merge": true,
        "allow_merge_commit": true,
        "allow_rebase_merge": true,
        "delete_branch_on_merge": false
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/521"
      },
      "html": {
        "href": "https://github.com/JeffersonLab/halld_recon/pull/521"
      },
      "issue": {
        "href": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/521"
      },
      "comments": {
        "href": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/521/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/521/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls/521/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/JeffersonLab/halld_recon/statuses/f377db8aef0e8376b10acbf3d417a81546f91384"
      }
    },
    "author_association": "MEMBER",
    "auto_merge": null,
    "active_lock_reason": null,
    "merged": false,
    "mergeable": null,
    "rebaseable": null,
    "mergeable_state": "unknown",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": true,
    "commits": 2,
    "additions": 2,
    "deletions": 0,
    "changed_files": 1
  },
  "repository": {
    "id": 142928270,
    "node_id": "MDEwOlJlcG9zaXRvcnkxNDI5MjgyNzA=",
    "name": "halld_recon",
    "full_name": "JeffersonLab/halld_recon",
    "private": false,
    "owner": {
      "login": "JeffersonLab",
      "id": 5191128,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjUxOTExMjg=",
      "avatar_url": "https://avatars.githubusercontent.com/u/5191128?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/JeffersonLab",
      "html_url": "https://github.com/JeffersonLab",
      "followers_url": "https://api.github.com/users/JeffersonLab/followers",
      "following_url": "https://api.github.com/users/JeffersonLab/following{/other_user}",
      "gists_url": "https://api.github.com/users/JeffersonLab/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/JeffersonLab/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/JeffersonLab/subscriptions",
      "organizations_url": "https://api.github.com/users/JeffersonLab/orgs",
      "repos_url": "https://api.github.com/users/JeffersonLab/repos",
      "events_url": "https://api.github.com/users/JeffersonLab/events{/privacy}",
      "received_events_url": "https://api.github.com/users/JeffersonLab/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/JeffersonLab/halld_recon",
    "description": "Reconstruction for the GlueX Detector",
    "fork": false,
    "url": "https://api.github.com/repos/JeffersonLab/halld_recon",
    "forks_url": "https://api.github.com/repos/JeffersonLab/halld_recon/forks",
    "keys_url": "https://api.github.com/repos/JeffersonLab/halld_recon/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/JeffersonLab/halld_recon/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/JeffersonLab/halld_recon/teams",
    "hooks_url": "https://api.github.com/repos/JeffersonLab/halld_recon/hooks",
    "issue_events_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/events{/number}",
    "events_url": "https://api.github.com/repos/JeffersonLab/halld_recon/events",
    "assignees_url": "https://api.github.com/repos/JeffersonLab/halld_recon/assignees{/user}",
    "branches_url": "https://api.github.com/repos/JeffersonLab/halld_recon/branches{/branch}",
    "tags_url": "https://api.github.com/repos/JeffersonLab/halld_recon/tags",
    "blobs_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/JeffersonLab/halld_recon/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/JeffersonLab/halld_recon/languages",
    "stargazers_url": "https://api.github.com/repos/JeffersonLab/halld_recon/stargazers",
    "contributors_url": "https://api.github.com/repos/JeffersonLab/halld_recon/contributors",
    "subscribers_url": "https://api.github.com/repos/JeffersonLab/halld_recon/subscribers",
    "subscription_url": "https://api.github.com/repos/JeffersonLab/halld_recon/subscription",
    "commits_url": "https://api.github.com/repos/JeffersonLab/halld_recon/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/JeffersonLab/halld_recon/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/JeffersonLab/halld_recon/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/JeffersonLab/halld_recon/contents/{+path}",
    "compare_url": "https://api.github.com/repos/JeffersonLab/halld_recon/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/JeffersonLab/halld_recon/merges",
    "archive_url": "https://api.github.com/repos/JeffersonLab/halld_recon/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/JeffersonLab/halld_recon/downloads",
    "issues_url": "https://api.github.com/repos/JeffersonLab/halld_recon/issues{/number}",
    "pulls_url": "https://api.github.com/repos/JeffersonLab/halld_recon/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/JeffersonLab/halld_recon/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/JeffersonLab/halld_recon/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/JeffersonLab/halld_recon/labels{/name}",
    "releases_url": "https://api.github.com/repos/JeffersonLab/halld_recon/releases{/id}",
    "deployments_url": "https://api.github.com/repos/JeffersonLab/halld_recon/deployments",
    "created_at": "2018-07-30T21:06:59Z",
    "updated_at": "2021-05-04T18:25:45Z",
    "pushed_at": "2021-05-10T13:21:08Z",
    "git_url": "git://github.com/JeffersonLab/halld_recon.git",
    "ssh_url": "git@github.com:JeffersonLab/halld_recon.git",
    "clone_url": "https://github.com/JeffersonLab/halld_recon.git",
    "svn_url": "https://github.com/JeffersonLab/halld_recon",
    "homepage": null,
    "size": 169282,
    "stargazers_count": 1,
    "watchers_count": 1,
    "language": "C++",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "forks_count": 7,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 30,
    "license": null,
    "forks": 7,
    "open_issues": 30,
    "watchers": 1,
    "default_branch": "master"
  },
  "organization": {
    "login": "JeffersonLab",
    "id": 5191128,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjUxOTExMjg=",
    "url": "https://api.github.com/orgs/JeffersonLab",
    "repos_url": "https://api.github.com/orgs/JeffersonLab/repos",
    "events_url": "https://api.github.com/orgs/JeffersonLab/events",
    "hooks_url": "https://api.github.com/orgs/JeffersonLab/hooks",
    "issues_url": "https://api.github.com/orgs/JeffersonLab/issues",
    "members_url": "https://api.github.com/orgs/JeffersonLab/members{/member}",
    "public_members_url": "https://api.github.com/orgs/JeffersonLab/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/5191128?v=4",
    "description": ""
  },
  "sender": {
    "login": "markito3",
    "id": 5664701,
    "node_id": "MDQ6VXNlcjU2NjQ3MDE=",
    "avatar_url": "https://avatars.githubusercontent.com/u/5664701?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/markito3",
    "html_url": "https://github.com/markito3",
    "followers_url": "https://api.github.com/users/markito3/followers",
    "following_url": "https://api.github.com/users/markito3/following{/other_user}",
    "gists_url": "https://api.github.com/users/markito3/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/markito3/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/markito3/subscriptions",
    "organizations_url": "https://api.github.com/users/markito3/orgs",
    "repos_url": "https://api.github.com/users/markito3/repos",
    "events_url": "https://api.github.com/users/markito3/events{/privacy}",
    "received_events_url": "https://api.github.com/users/markito3/received_events",
    "type": "User",
    "site_admin": false
  }
}

Notes on pull request test builds

Notes on Creating a GitHub Webhook

To create a webhook, on github click on settings, webhooks, add webhook. Fill in the following:

  • payload url
  • choose a web type
    • halld_recon and halld_sim use application/json
  • enter a secret
    • halld_recon and halld_sim leave the secret blank
  • choose which events trigger the webhook. push is the most common
    • halld_recon selects pull requests under “let me select individual events”
  • set the Active check box when it is ready to go

From Marty:

To create a new instance of the same thing, you should:

  • Create a directory for it — /group/halld/www/halldweb/<newname> into which you place your code.
    • made the directory newname = build_scripts_webhook
    • (directory in marty’s message should be /group/halld/www/halldweb/htbin/<newname>)
  • Create a new password file like /group/halld/www/config/<newname>pw
    • called it build_scripts_webhook_pw
  • Add a user and password as desired
    • username = bstester , password=********
  • Let me know what <newname> is so I can add the necessary config

Here the message sent to Marty:

Marty,
I created the new script for execution from github. The script is
/group/halld/www/halldweb/htbin/build_scripts_webhook/build_scripts_test.py
The password file is
/group/halld/www/halldweb/config/build_scripts_webhook_pw
Let me know if I have to do anything else.
— Mark