mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 17:24:42 +08:00
723d7de18c
* FIX: Improve GitHub folder regexp in Onebox It used to match any GitHub URL that was not matched by the other GitHub Oneboxes and it did not do a good job at handling those. With this change, the generic Onebox will handle the remaining URLs. * FEATURE: Add Onebox for GitHub Actions * FEATURE: Add Onebox for PR check runs * FIX: Remove image from GitHub folder Oneboxes It is a generic, auto-generated image which does not provide any value. * DEV: Add tests * FIX: Strip HTML comments from PR body
217 lines
12 KiB
Plaintext
217 lines
12 KiB
Plaintext
{
|
|
"url": "https://api.github.com/repos/discourse/discourse/pulls/1253",
|
|
"id": 7186071,
|
|
"html_url": "https://github.com/discourse/discourse/pull/1253",
|
|
"diff_url": "https://github.com/discourse/discourse/pull/1253.diff",
|
|
"patch_url": "https://github.com/discourse/discourse/pull/1253.patch",
|
|
"issue_url": "https://github.com/discourse/discourse/pull/1253",
|
|
"number": 1253,
|
|
"state": "closed",
|
|
"title": "Add audio onebox",
|
|
"user": {
|
|
"login": "jamesaanderson",
|
|
"id": 2722987,
|
|
"avatar_url": "https://0.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?d=https%3A%2F%2Fidenticons.github.com%2Fb4a68f5d10a482ee680e30f88540942a.png",
|
|
"gravatar_id": "b3e9977094ce189bbb493cf7f9adea21",
|
|
"url": "https://api.github.com/users/jamesaanderson",
|
|
"html_url": "https://github.com/jamesaanderson",
|
|
"followers_url": "https://api.github.com/users/jamesaanderson/followers",
|
|
"following_url": "https://api.github.com/users/jamesaanderson/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/jamesaanderson/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/jamesaanderson/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/jamesaanderson/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/jamesaanderson/orgs",
|
|
"repos_url": "https://api.github.com/users/jamesaanderson/repos",
|
|
"events_url": "https://api.github.com/users/jamesaanderson/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/jamesaanderson/received_events",
|
|
"type": "User"
|
|
},
|
|
"body": "http://meta.discourse.org/t/audio-html5-tag/8168\n<!-- test comment -->",
|
|
"created_at": "2013-07-26T02:05:53Z",
|
|
"updated_at": "2013-07-26T15:31:57Z",
|
|
"closed_at": "2013-07-26T15:30:57Z",
|
|
"merged_at": "2013-07-26T15:30:57Z",
|
|
"merge_commit_sha": null,
|
|
"assignee": null,
|
|
"milestone": null,
|
|
"commits_url": "https://github.com/discourse/discourse/pull/1253/commits",
|
|
"review_comments_url": "https://github.com/discourse/discourse/pull/1253/comments",
|
|
"review_comment_url": "/repos/discourse/discourse/pulls/comments/{number}",
|
|
"comments_url": "https://api.github.com/repos/discourse/discourse/issues/1253/comments",
|
|
"head": {
|
|
"label": "jamesaanderson:add-audio-onebox",
|
|
"ref": "add-audio-onebox",
|
|
"sha": "d7d3be1130c665cc7fab9f05dbf32335229137a6",
|
|
"user": {
|
|
"login": "jamesaanderson",
|
|
"id": 2722987,
|
|
"avatar_url": "https://0.gravatar.com/avatar/b3e9977094ce189bbb493cf7f9adea21?d=https%3A%2F%2Fidenticons.github.com%2Fb4a68f5d10a482ee680e30f88540942a.png",
|
|
"gravatar_id": "b3e9977094ce189bbb493cf7f9adea21",
|
|
"url": "https://api.github.com/users/jamesaanderson",
|
|
"html_url": "https://github.com/jamesaanderson",
|
|
"followers_url": "https://api.github.com/users/jamesaanderson/followers",
|
|
"following_url": "https://api.github.com/users/jamesaanderson/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/jamesaanderson/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/jamesaanderson/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/jamesaanderson/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/jamesaanderson/orgs",
|
|
"repos_url": "https://api.github.com/users/jamesaanderson/repos",
|
|
"events_url": "https://api.github.com/users/jamesaanderson/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/jamesaanderson/received_events",
|
|
"type": "User"
|
|
},
|
|
"repo": null
|
|
},
|
|
"base": {
|
|
"label": "discourse:master",
|
|
"ref": "master",
|
|
"sha": "cc79d22f82ede170dd86a05274eb3c2c5eb02912",
|
|
"user": {
|
|
"login": "discourse",
|
|
"id": 3220138,
|
|
"avatar_url": "https://0.gravatar.com/avatar/b30fff48d257cdd17c4437afac19fd30?d=https%3A%2F%2Fidenticons.github.com%2Fa42d8d01d12f7137e49e7c1ee1b2b3f0.png",
|
|
"gravatar_id": "b30fff48d257cdd17c4437afac19fd30",
|
|
"url": "https://api.github.com/users/discourse",
|
|
"html_url": "https://github.com/discourse",
|
|
"followers_url": "https://api.github.com/users/discourse/followers",
|
|
"following_url": "https://api.github.com/users/discourse/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/discourse/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/discourse/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/discourse/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/discourse/orgs",
|
|
"repos_url": "https://api.github.com/users/discourse/repos",
|
|
"events_url": "https://api.github.com/users/discourse/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/discourse/received_events",
|
|
"type": "Organization"
|
|
},
|
|
"repo": {
|
|
"id": 7569578,
|
|
"name": "discourse",
|
|
"full_name": "discourse/discourse",
|
|
"owner": {
|
|
"login": "discourse",
|
|
"id": 3220138,
|
|
"avatar_url": "https://0.gravatar.com/avatar/b30fff48d257cdd17c4437afac19fd30?d=https%3A%2F%2Fidenticons.github.com%2Fa42d8d01d12f7137e49e7c1ee1b2b3f0.png",
|
|
"gravatar_id": "b30fff48d257cdd17c4437afac19fd30",
|
|
"url": "https://api.github.com/users/discourse",
|
|
"html_url": "https://github.com/discourse",
|
|
"followers_url": "https://api.github.com/users/discourse/followers",
|
|
"following_url": "https://api.github.com/users/discourse/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/discourse/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/discourse/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/discourse/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/discourse/orgs",
|
|
"repos_url": "https://api.github.com/users/discourse/repos",
|
|
"events_url": "https://api.github.com/users/discourse/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/discourse/received_events",
|
|
"type": "Organization"
|
|
},
|
|
"private": false,
|
|
"html_url": "https://github.com/discourse/discourse",
|
|
"description": "A platform for community discussion. Free, open, simple.",
|
|
"fork": false,
|
|
"url": "https://api.github.com/repos/discourse/discourse",
|
|
"forks_url": "https://api.github.com/repos/discourse/discourse/forks",
|
|
"keys_url": "https://api.github.com/repos/discourse/discourse/keys{/key_id}",
|
|
"collaborators_url": "https://api.github.com/repos/discourse/discourse/collaborators{/collaborator}",
|
|
"teams_url": "https://api.github.com/repos/discourse/discourse/teams",
|
|
"hooks_url": "https://api.github.com/repos/discourse/discourse/hooks",
|
|
"issue_events_url": "https://api.github.com/repos/discourse/discourse/issues/events{/number}",
|
|
"events_url": "https://api.github.com/repos/discourse/discourse/events",
|
|
"assignees_url": "https://api.github.com/repos/discourse/discourse/assignees{/user}",
|
|
"branches_url": "https://api.github.com/repos/discourse/discourse/branches{/branch}",
|
|
"tags_url": "https://api.github.com/repos/discourse/discourse/tags",
|
|
"blobs_url": "https://api.github.com/repos/discourse/discourse/git/blobs{/sha}",
|
|
"git_tags_url": "https://api.github.com/repos/discourse/discourse/git/tags{/sha}",
|
|
"git_refs_url": "https://api.github.com/repos/discourse/discourse/git/refs{/sha}",
|
|
"trees_url": "https://api.github.com/repos/discourse/discourse/git/trees{/sha}",
|
|
"statuses_url": "https://api.github.com/repos/discourse/discourse/statuses/{sha}",
|
|
"languages_url": "https://api.github.com/repos/discourse/discourse/languages",
|
|
"stargazers_url": "https://api.github.com/repos/discourse/discourse/stargazers",
|
|
"contributors_url": "https://api.github.com/repos/discourse/discourse/contributors",
|
|
"subscribers_url": "https://api.github.com/repos/discourse/discourse/subscribers",
|
|
"subscription_url": "https://api.github.com/repos/discourse/discourse/subscription",
|
|
"commits_url": "https://api.github.com/repos/discourse/discourse/commits{/sha}",
|
|
"git_commits_url": "https://api.github.com/repos/discourse/discourse/git/commits{/sha}",
|
|
"comments_url": "https://api.github.com/repos/discourse/discourse/comments{/number}",
|
|
"issue_comment_url": "https://api.github.com/repos/discourse/discourse/issues/comments/{number}",
|
|
"contents_url": "https://api.github.com/repos/discourse/discourse/contents/{+path}",
|
|
"compare_url": "https://api.github.com/repos/discourse/discourse/compare/{base}...{head}",
|
|
"merges_url": "https://api.github.com/repos/discourse/discourse/merges",
|
|
"archive_url": "https://api.github.com/repos/discourse/discourse/{archive_format}{/ref}",
|
|
"downloads_url": "https://api.github.com/repos/discourse/discourse/downloads",
|
|
"issues_url": "https://api.github.com/repos/discourse/discourse/issues{/number}",
|
|
"pulls_url": "https://api.github.com/repos/discourse/discourse/pulls{/number}",
|
|
"milestones_url": "https://api.github.com/repos/discourse/discourse/milestones{/number}",
|
|
"notifications_url": "https://api.github.com/repos/discourse/discourse/notifications{?since,all,participating}",
|
|
"labels_url": "https://api.github.com/repos/discourse/discourse/labels{/name}",
|
|
"created_at": "2013-01-12T00:25:55Z",
|
|
"updated_at": "2013-09-28T16:44:54Z",
|
|
"pushed_at": "2013-09-27T19:08:59Z",
|
|
"git_url": "git://github.com/discourse/discourse.git",
|
|
"ssh_url": "git@github.com:discourse/discourse.git",
|
|
"clone_url": "https://github.com/discourse/discourse.git",
|
|
"svn_url": "https://github.com/discourse/discourse",
|
|
"homepage": "http://www.discourse.org",
|
|
"size": 48020,
|
|
"watchers_count": 7857,
|
|
"language": "JavaScript",
|
|
"has_issues": true,
|
|
"has_downloads": true,
|
|
"has_wiki": true,
|
|
"forks_count": 1876,
|
|
"mirror_url": null,
|
|
"open_issues_count": 38,
|
|
"forks": 1876,
|
|
"open_issues": 38,
|
|
"watchers": 7857,
|
|
"master_branch": "master",
|
|
"default_branch": "master"
|
|
}
|
|
},
|
|
"_links": {
|
|
"self": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/pulls/1253"
|
|
},
|
|
"html": {
|
|
"href": "https://github.com/discourse/discourse/pull/1253"
|
|
},
|
|
"issue": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/issues/1253"
|
|
},
|
|
"comments": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/issues/1253/comments"
|
|
},
|
|
"review_comments": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/pulls/1253/comments"
|
|
}
|
|
},
|
|
"merged": true,
|
|
"mergeable": null,
|
|
"mergeable_state": "unknown",
|
|
"merged_by": {
|
|
"login": "eviltrout",
|
|
"id": 17538,
|
|
"avatar_url": "https://0.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9?d=https%3A%2F%2Fidenticons.github.com%2Fba01baa4856d494a66a0d5eca39f5418.png",
|
|
"gravatar_id": "c6e17f2ae2a215e87ff9e878a4e63cd9",
|
|
"url": "https://api.github.com/users/eviltrout",
|
|
"html_url": "https://github.com/eviltrout",
|
|
"followers_url": "https://api.github.com/users/eviltrout/followers",
|
|
"following_url": "https://api.github.com/users/eviltrout/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/eviltrout/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/eviltrout/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/eviltrout/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/eviltrout/orgs",
|
|
"repos_url": "https://api.github.com/users/eviltrout/repos",
|
|
"events_url": "https://api.github.com/users/eviltrout/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/eviltrout/received_events",
|
|
"type": "User"
|
|
},
|
|
"comments": 2,
|
|
"review_comments": 0,
|
|
"commits": 1,
|
|
"additions": 19,
|
|
"deletions": 1,
|
|
"changed_files": 4
|
|
}
|