Skip to content

Instantly share code, notes, and snippets.

View peterbe's full-sized avatar

Peter Bengtsson peterbe

View GitHub Profile
import got from 'got'
import cheerio from 'cheerio'
async function getTags(url) {
const response = await got(url)
return countTags(response.body)
}
function countTags(body) {
const tags = {}
/en/code-security/code-scanning/managing-code-scanning-alerts/tracking-code-scanning-alerts-in-issues-using-task-lists
p 30 28
/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule
p 56 54
/en/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-organizations-in-your-enterprise/managing-your-role-in-an-organization-owned-by-your-enterprise
p 16 14
/en/enterprise-server@3.10/admin/code-security/managing-github-advanced-security-for-your-enterprise/enabling-github-advanced-security-for-your-enterprise
ol 6 4
/en/apps/creating-github-apps/writing-code-for-a-github-app/building-ci-checks-with-a-github-app
p 222 215
diff --git a/package-lock.json b/package-lock.json
index ab5610855..e7d3112ec 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3269,6 +3269,36 @@
"version": "12.3.4",
"license": "MIT"
},
+ "node_modules/@next/swc-android-arm-eabi": {
+ "version": "12.3.4",
---
title: GitHub Actions documentation
breadcrumbs:
headings:
popularity: 0.3824405
objectID: /en/actions
intro: Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow.
---
GitHub Actions documentation
---
title: GitHub Actions documentation
breadcrumbs:
headings: Guides All GitHub Actions docs
popularity: 0.3824405
objectID: /en/actions
intro: Automate, customize, and execute your software development workflows right in your repository with GitHub Actions. You can discover, create, and share actions to perform any job you'd like, including CI/CD, and combine actions in a completely customized workflow.
---
GitHub Actions documentation
url count_
/phpbb3 2
/frand2 2
/phplist 2
/.cvsignore 2
/.history 2
/.forward 2
/phpBB3 2
/.cvs 2
/.perf 2
HAD_TO_CHEERIO : {"html":"<p>If your repository requires reviews, pull requests must have a specific number of approving reviews from people with <em>write</em> or <em>admin</em> permissions in the repository before they can be merged.</p>"}
HAD_TO_CHEERIO : {"html":"<p>You can personalize GitHub Codespaces by using a <code>dotfiles</code> repository on GitHub or by using Settings Sync.</p>"}
HAD_TO_CHEERIO : {"html":"<p>Create a pull request to propose and collaborate on changes to a repository. These changes are proposed in a <em>branch</em>, which ensures that the default branch only contains finished and approved work.</p>"}
HAD_TO_CHEERIO : {"html":"<p>If your repository requires reviews, pull requests must have a specific number of approving reviews from people with <em>write</em> or <em>admin</em> permissions in the repository before they can be merged.</p>"}
HAD_TO_CHEERIO : {"html":"<p>After <a href=\"/en/marketplace/listing-on-github-marketplace/creating-a-draft-github-marketplace-listing\">creating
url count_
/zh/get-started/.env.docs 2
/_next/static/.env 2
/zh/site-policy/.env_sample 2
/_next/static/ACitfX18__IMXCzy9DWtx/.env 2
/_next/static/chunks/.env 2
/_next/static/On8pNTyou_h5OMi_4wSn3/.env 2
/zh/code-security/dependabot/api/.env 2
/_next/static/.env.dev 2
/_next/static/ACitfX18__IMXCzy9DWtx/.env.dev 2
import fs from 'fs'
import { loadPageMap, loadPages, loadSiteTree, loadUnversionedTree } from './lib/page-data.js'
import contextualize from './middleware/context.js'
import shortVersions from './middleware/contextualizers/short-versions.js'
import features from './middleware/contextualizers/features.js'
async function getInfo(page, permalink) {
const pathname = permalink.href
const renderingReq = {
path: pathname,
import got from 'got'
async function main() {
const N = 300
const t0 = Date.now()
const responses = await Promise.all(
Array.from(Array(N).keys()).map(async (i) => {
// const r = await got(`https://docs.github.com/en/search?query=${Math.random()}`, {
const r = await got(`https://docs.github.com/healthz-${Math.random()}`, {
// const r = await got(`https://docs.github.com/healthz-`, {