mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06: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
369 lines
19 KiB
Plaintext
369 lines
19 KiB
Plaintext
{
|
|
"url": "https://api.github.com/repos/discourse/discourse/pulls/13128",
|
|
"id": 651671568,
|
|
"node_id": "MDExOlB1bGxSZXF1ZXN0NjUxNjcxNTY4",
|
|
"html_url": "https://github.com/discourse/discourse/pull/13128",
|
|
"diff_url": "https://github.com/discourse/discourse/pull/13128.diff",
|
|
"patch_url": "https://github.com/discourse/discourse/pull/13128.patch",
|
|
"issue_url": "https://api.github.com/repos/discourse/discourse/issues/13128",
|
|
"number": 13128,
|
|
"state": "closed",
|
|
"locked": false,
|
|
"title": "simplify post and topic deletion language",
|
|
"user": {
|
|
"login": "coding-horror",
|
|
"id": 1522517,
|
|
"node_id": "MDQ6VXNlcjE1MjI1MTc=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/1522517?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/coding-horror",
|
|
"html_url": "https://github.com/coding-horror",
|
|
"followers_url": "https://api.github.com/users/coding-horror/followers",
|
|
"following_url": "https://api.github.com/users/coding-horror/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/coding-horror/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/coding-horror/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/coding-horror/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/coding-horror/orgs",
|
|
"repos_url": "https://api.github.com/users/coding-horror/repos",
|
|
"events_url": "https://api.github.com/users/coding-horror/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/coding-horror/received_events",
|
|
"type": "User",
|
|
"site_admin": false
|
|
},
|
|
"body": "based on feedback from Matt Haughey, we don't need to use so many words when describing a deleted topic or post.\r\n\r\n<!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in JavaScript). If your code does not include test coverage, please include an explanation of why it was omitted. -->\r\n",
|
|
"created_at": "2021-05-24T22:16:01Z",
|
|
"updated_at": "2021-05-25T02:04:11Z",
|
|
"closed_at": "2021-05-25T02:04:10Z",
|
|
"merged_at": "2021-05-25T02:04:10Z",
|
|
"merge_commit_sha": "50926f614342336793f1b78672b387d545d48de3",
|
|
"assignee": null,
|
|
"assignees": [
|
|
|
|
],
|
|
"requested_reviewers": [
|
|
|
|
],
|
|
"requested_teams": [
|
|
|
|
],
|
|
"labels": [
|
|
|
|
],
|
|
"milestone": null,
|
|
"draft": false,
|
|
"commits_url": "https://api.github.com/repos/discourse/discourse/pulls/13128/commits",
|
|
"review_comments_url": "https://api.github.com/repos/discourse/discourse/pulls/13128/comments",
|
|
"review_comment_url": "https://api.github.com/repos/discourse/discourse/pulls/comments{/number}",
|
|
"comments_url": "https://api.github.com/repos/discourse/discourse/issues/13128/comments",
|
|
"statuses_url": "https://api.github.com/repos/discourse/discourse/statuses/929e4ee5e93e53f45c7be78fcf81b734120af9c0",
|
|
"head": {
|
|
"label": "discourse:simplify-deleted-post-copy",
|
|
"ref": "simplify-deleted-post-copy",
|
|
"sha": "929e4ee5e93e53f45c7be78fcf81b734120af9c0",
|
|
"user": {
|
|
"login": "discourse",
|
|
"id": 3220138,
|
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMyMjAxMzg=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/3220138?v=4",
|
|
"gravatar_id": "",
|
|
"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",
|
|
"site_admin": false
|
|
},
|
|
"repo": {
|
|
"id": 7569578,
|
|
"node_id": "MDEwOlJlcG9zaXRvcnk3NTY5NTc4",
|
|
"name": "discourse",
|
|
"full_name": "discourse/discourse",
|
|
"private": false,
|
|
"owner": {
|
|
"login": "discourse",
|
|
"id": 3220138,
|
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMyMjAxMzg=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/3220138?v=4",
|
|
"gravatar_id": "",
|
|
"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",
|
|
"site_admin": 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}",
|
|
"releases_url": "https://api.github.com/repos/discourse/discourse/releases{/id}",
|
|
"deployments_url": "https://api.github.com/repos/discourse/discourse/deployments",
|
|
"created_at": "2013-01-12T00:25:55Z",
|
|
"updated_at": "2021-05-26T11:54:17Z",
|
|
"pushed_at": "2021-05-26T14:34:39Z",
|
|
"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": "https://www.discourse.org",
|
|
"size": 369664,
|
|
"stargazers_count": 33354,
|
|
"watchers_count": 33354,
|
|
"language": "Ruby",
|
|
"has_issues": false,
|
|
"has_projects": false,
|
|
"has_downloads": true,
|
|
"has_wiki": false,
|
|
"has_pages": false,
|
|
"forks_count": 7246,
|
|
"mirror_url": null,
|
|
"archived": false,
|
|
"disabled": false,
|
|
"open_issues_count": 31,
|
|
"license": {
|
|
"key": "other",
|
|
"name": "Other",
|
|
"spdx_id": "NOASSERTION",
|
|
"url": null,
|
|
"node_id": "MDc6TGljZW5zZTA="
|
|
},
|
|
"forks": 7246,
|
|
"open_issues": 31,
|
|
"watchers": 33354,
|
|
"default_branch": "master"
|
|
}
|
|
},
|
|
"base": {
|
|
"label": "discourse:master",
|
|
"ref": "master",
|
|
"sha": "b8a08d21e0e9c73f3fdd1ef99c6b8dfe00f5c4f7",
|
|
"user": {
|
|
"login": "discourse",
|
|
"id": 3220138,
|
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMyMjAxMzg=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/3220138?v=4",
|
|
"gravatar_id": "",
|
|
"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",
|
|
"site_admin": false
|
|
},
|
|
"repo": {
|
|
"id": 7569578,
|
|
"node_id": "MDEwOlJlcG9zaXRvcnk3NTY5NTc4",
|
|
"name": "discourse",
|
|
"full_name": "discourse/discourse",
|
|
"private": false,
|
|
"owner": {
|
|
"login": "discourse",
|
|
"id": 3220138,
|
|
"node_id": "MDEyOk9yZ2FuaXphdGlvbjMyMjAxMzg=",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/3220138?v=4",
|
|
"gravatar_id": "",
|
|
"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",
|
|
"site_admin": 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}",
|
|
"releases_url": "https://api.github.com/repos/discourse/discourse/releases{/id}",
|
|
"deployments_url": "https://api.github.com/repos/discourse/discourse/deployments",
|
|
"created_at": "2013-01-12T00:25:55Z",
|
|
"updated_at": "2021-05-26T11:54:17Z",
|
|
"pushed_at": "2021-05-26T14:34:39Z",
|
|
"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": "https://www.discourse.org",
|
|
"size": 369664,
|
|
"stargazers_count": 33354,
|
|
"watchers_count": 33354,
|
|
"language": "Ruby",
|
|
"has_issues": false,
|
|
"has_projects": false,
|
|
"has_downloads": true,
|
|
"has_wiki": false,
|
|
"has_pages": false,
|
|
"forks_count": 7246,
|
|
"mirror_url": null,
|
|
"archived": false,
|
|
"disabled": false,
|
|
"open_issues_count": 31,
|
|
"license": {
|
|
"key": "other",
|
|
"name": "Other",
|
|
"spdx_id": "NOASSERTION",
|
|
"url": null,
|
|
"node_id": "MDc6TGljZW5zZTA="
|
|
},
|
|
"forks": 7246,
|
|
"open_issues": 31,
|
|
"watchers": 33354,
|
|
"default_branch": "master"
|
|
}
|
|
},
|
|
"_links": {
|
|
"self": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/pulls/13128"
|
|
},
|
|
"html": {
|
|
"href": "https://github.com/discourse/discourse/pull/13128"
|
|
},
|
|
"issue": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/issues/13128"
|
|
},
|
|
"comments": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/issues/13128/comments"
|
|
},
|
|
"review_comments": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/pulls/13128/comments"
|
|
},
|
|
"review_comment": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/pulls/comments{/number}"
|
|
},
|
|
"commits": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/pulls/13128/commits"
|
|
},
|
|
"statuses": {
|
|
"href": "https://api.github.com/repos/discourse/discourse/statuses/929e4ee5e93e53f45c7be78fcf81b734120af9c0"
|
|
}
|
|
},
|
|
"author_association": "MEMBER",
|
|
"auto_merge": null,
|
|
"active_lock_reason": null,
|
|
"merged": true,
|
|
"mergeable": null,
|
|
"rebaseable": null,
|
|
"mergeable_state": "unknown",
|
|
"merged_by": {
|
|
"login": "martin-brennan",
|
|
"id": 920448,
|
|
"node_id": "MDQ6VXNlcjkyMDQ0OA==",
|
|
"avatar_url": "https://avatars.githubusercontent.com/u/920448?v=4",
|
|
"gravatar_id": "",
|
|
"url": "https://api.github.com/users/martin-brennan",
|
|
"html_url": "https://github.com/martin-brennan",
|
|
"followers_url": "https://api.github.com/users/martin-brennan/followers",
|
|
"following_url": "https://api.github.com/users/martin-brennan/following{/other_user}",
|
|
"gists_url": "https://api.github.com/users/martin-brennan/gists{/gist_id}",
|
|
"starred_url": "https://api.github.com/users/martin-brennan/starred{/owner}{/repo}",
|
|
"subscriptions_url": "https://api.github.com/users/martin-brennan/subscriptions",
|
|
"organizations_url": "https://api.github.com/users/martin-brennan/orgs",
|
|
"repos_url": "https://api.github.com/users/martin-brennan/repos",
|
|
"events_url": "https://api.github.com/users/martin-brennan/events{/privacy}",
|
|
"received_events_url": "https://api.github.com/users/martin-brennan/received_events",
|
|
"type": "User",
|
|
"site_admin": false
|
|
},
|
|
"comments": 0,
|
|
"review_comments": 0,
|
|
"maintainer_can_modify": false,
|
|
"commits": 3,
|
|
"additions": 10,
|
|
"deletions": 19,
|
|
"changed_files": 5
|
|
} |