Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update selector for payload examples #652

Merged
merged 2 commits into from Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/section-to-webhook.ts
Expand Up @@ -113,6 +113,6 @@ const getActions = ($: cheerio.Root): string[] => {
};

const getExamples = ($: cheerio.Root) =>
$(".language-json")
$('[data-highlight="json"] code')
.map((index, el) => JSON.parse($(el).text()) as unknown)
.get() as object[];
31,669 changes: 20,541 additions & 11,128 deletions payload-examples/api.github.com/index.json

Large diffs are not rendered by default.

9,124 changes: 9,075 additions & 49 deletions payload-examples/ghes-31/index.json

Large diffs are not rendered by default.

9,124 changes: 9,075 additions & 49 deletions payload-examples/ghes-32/index.json

Large diffs are not rendered by default.

9,472 changes: 9,421 additions & 51 deletions payload-examples/ghes-33/index.json

Large diffs are not rendered by default.

21,093 changes: 15,214 additions & 5,879 deletions payload-examples/ghes-34/index.json

Large diffs are not rendered by default.

21,074 changes: 15,272 additions & 5,802 deletions payload-examples/ghes-35/index.json

Large diffs are not rendered by default.

19,726 changes: 13,932 additions & 5,794 deletions payload-examples/github.ae/index.json

Large diffs are not rendered by default.