Various GitHub Onebox improvements (#13163)

* 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
This commit is contained in:
Dan Ungureanu
2021-05-27 12:38:42 +03:00
committed by GitHub
parent 2f12c0f5bd
commit 723d7de18c
13 changed files with 886 additions and 20 deletions

View File

@ -26,7 +26,7 @@
"received_events_url": "https://api.github.com/users/jamesaanderson/received_events",
"type": "User"
},
"body": "http://meta.discourse.org/t/audio-html5-tag/8168",
"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",