1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Merge branch 'main' into fix-typo/events-that-trigger-workflows

This commit is contained in:
Ramya Parimi
2022-02-01 07:23:00 -06:00
committed by GitHub
77 changed files with 476 additions and 148 deletions

View File

@@ -32,7 +32,7 @@ Each solution has certain specifics that may be important to consider:
| Runtime | Kubernetes | Linux and Windows VMs |
| Supported Clouds | Azure, Amazon Web Services, Google Cloud Platform, on-premises | Amazon Web Services |
| Where runners can be scaled | Enterprise, organization, and repository levels. By runner label and runner group. | Organization and repository levels. By runner label and runner group. |
| Pull-based autoscaling support | Yes | No |
| How runners can be scaled | Webhook events, Scheduled, Pull-based | Webhook events, Scheduled (org-level runners only) |
## Using ephemeral runners for autoscaling

View File

@@ -38,7 +38,7 @@ Dependency review is available when dependency graph is enabled for {% data vari
Sometimes you might just want to update the version of one dependency in a manifest and generate a pull request. However, if the updated version of this direct dependency also has updated dependencies, your pull request may have more changes than you expected. The dependency review for each manifest and lock file provides an easy way to see what has changed, and whether any of the new dependency versions contain known vulnerabilities.
By checking the dependency reviews in a pull request, and changing any dependencies that are flagged as vulnerable, you can avoid vulnerabilities being added to your project. For more information about how dependency review works, see "[Reviewing dependency changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request)."
By checking the dependency reviews in a pull request, and changing any dependencies that are flagged as vulnerable, you can avoid vulnerabilities being added to your project. For more information about how dependency review works, see "[Reviewing dependency changes in a pull request](/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-dependency-changes-in-a-pull-request)."
{% data variables.product.prodname_dependabot_alerts %} will find vulnerabilities that are already in your dependencies, but it's much better to avoid introducing potential problems than to fix problems at a later date. For more information about {% data variables.product.prodname_dependabot_alerts %}, see "[About alerts for vulnerable dependencies](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies#dependabot-alerts-for-vulnerable-dependencies)."

View File

@@ -15839,6 +15839,191 @@
}
]
},
{
"verb": "get",
"requestPath": "/orgs/{org}/actions/permissions/workflow",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/workflow",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/workflow</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('GET /orgs/{org}/actions/permissions/workflow', {\n org: 'org'\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'GET /orgs/{org}/actions/permissions/workflow'</span>, {\n <span class=\"hljs-attr\">org</span>: <span class=\"hljs-string\">'org'</span>\n})\n</code></pre>"
}
],
"summary": "Get default workflow permissions",
"description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well if GitHub Actions can submit approving pull request reviews.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.",
"tags": [
"actions"
],
"operationId": "actions/get-github-actions-default-workflow-permissions-organization",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/actions#get-default-workflow-permissions"
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "actions",
"subcategory": "permissions"
},
"slug": "get-default-workflow-permissions",
"category": "actions",
"categoryLabel": "Actions",
"subcategory": "permissions",
"subcategoryLabel": "Permissions",
"notes": [],
"bodyParameters": [],
"descriptionHTML": "<p>Gets the default workflow permissions granted to the <code>GITHUB_TOKEN</code> when running workflows in an organization,\nas well if GitHub Actions can submit approving pull request reviews.</p>\n<p>You must authenticate using an access token with the <code>admin:org</code> scope to use this endpoint. GitHub Apps must have the <code>administration</code> organization permission to use this API.</p>",
"responses": [
{
"httpStatusCode": "200",
"httpStatusMessage": "OK",
"description": "<p>Response</p>",
"payload": "<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\n <span class=\"hljs-attr\">\"default_workflow_permissions\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">\"read\"</span><span class=\"hljs-punctuation\">,</span>\n <span class=\"hljs-attr\">\"can_approve_pull_request_reviews\"</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-keyword\">true</span>\n<span class=\"hljs-punctuation\">}</span>\n</code></pre>"
}
]
},
{
"verb": "put",
"requestPath": "/orgs/{org}/actions/permissions/workflow",
"serverUrl": "https://api.github.com",
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"descriptionHTML": ""
}
],
"x-codeSamples": [
{
"lang": "Shell",
"source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/workflow \\\n -d '{\"default_workflow_permissions\":\"default_workflow_permissions\"}'",
"html": "<pre><code class=\"hljs language-shell\">curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/orgs/ORG/actions/permissions/workflow \\\n -d '{\"default_workflow_permissions\":\"default_workflow_permissions\"}'</code></pre>"
},
{
"lang": "JavaScript",
"source": "await octokit.request('PUT /orgs/{org}/actions/permissions/workflow', {\n org: 'org',\n default_workflow_permissions: 'default_workflow_permissions'\n})",
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.<span class=\"hljs-title hljs-function\">request</span>(<span class=\"hljs-string\">'PUT /orgs/{org}/actions/permissions/workflow'</span>, {\n <span class=\"hljs-attr\">org</span>: <span class=\"hljs-string\">'org'</span>,\n <span class=\"hljs-attr\">default_workflow_permissions</span>: <span class=\"hljs-string\">'default_workflow_permissions'</span>\n})\n</code></pre>"
}
],
"summary": "Set default workflow permissions",
"description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.",
"tags": [
"actions"
],
"operationId": "actions/set-github-actions-default-workflow-permissions-organization",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/actions#set-default-workflow-permissions"
},
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"default_workflow_permissions": {
"type": "string",
"description": "<p>The default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization.</p>",
"enum": [
"read",
"write"
],
"name": "default_workflow_permissions",
"in": "body",
"rawType": "string",
"rawDescription": "The default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization.",
"childParamsGroups": []
},
"can_approve_pull_request_reviews": {
"type": "boolean",
"description": "<p>Whether GitHub Actions can submit approving pull request reviews.</p>",
"name": "can_approve_pull_request_reviews",
"in": "body",
"rawType": "boolean",
"rawDescription": "Whether GitHub Actions can submit approving pull request reviews.",
"childParamsGroups": []
}
}
},
"examples": {
"default": {
"value": {
"default_workflow_permissions": "read",
"can_approve_pull_request_reviews": true
}
}
}
}
}
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "actions",
"subcategory": "permissions"
},
"slug": "set-default-workflow-permissions",
"category": "actions",
"categoryLabel": "Actions",
"subcategory": "permissions",
"subcategoryLabel": "Permissions",
"contentType": "application/json",
"notes": [],
"descriptionHTML": "<p>Sets the default workflow permissions granted to the <code>GITHUB_TOKEN</code> when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews.</p>\n<p>You must authenticate using an access token with the <code>admin:org</code> scope to use this endpoint. GitHub Apps must have the <code>administration</code> organization permission to use this API.</p>",
"responses": [
{
"httpStatusCode": "204",
"httpStatusMessage": "No Content",
"description": "<p>Response</p>"
}
],
"bodyParameters": [
{
"type": "string",
"description": "<p>The default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization.</p>",
"enum": [
"read",
"write"
],
"name": "default_workflow_permissions",
"in": "body",
"rawType": "string",
"rawDescription": "The default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization.",
"childParamsGroups": []
},
{
"type": "boolean",
"description": "<p>Whether GitHub Actions can submit approving pull request reviews.</p>",
"name": "can_approve_pull_request_reviews",
"in": "body",
"rawType": "boolean",
"rawDescription": "Whether GitHub Actions can submit approving pull request reviews.",
"childParamsGroups": []
}
]
},
{
"verb": "get",
"requestPath": "/orgs/{org}/actions/runner-groups",

View File

@@ -57138,6 +57138,139 @@
}
}
},
"/orgs/{org}/actions/permissions/workflow": {
"get": {
"summary": "Get default workflow permissions",
"description": "Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,\nas well if GitHub Actions can submit approving pull request reviews.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.",
"tags": [
"actions"
],
"operationId": "actions/get-github-actions-default-workflow-permissions-organization",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/actions#get-default-workflow-permissions"
},
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"default_workflow_permissions": {
"type": "string",
"description": "The default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization.",
"enum": [
"read",
"write"
]
},
"can_approve_pull_request_reviews": {
"type": "boolean",
"description": "Whether GitHub Actions can submit approving pull request reviews."
}
},
"required": [
"default_workflow_permissions",
"can_approve_pull_request_reviews"
]
},
"examples": {
"default": {
"value": {
"default_workflow_permissions": "read",
"can_approve_pull_request_reviews": true
}
}
}
}
}
}
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "actions",
"subcategory": "permissions"
}
},
"put": {
"summary": "Set default workflow permissions",
"description": "Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions\ncan submit approving pull request reviews.\n\nYou must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.",
"tags": [
"actions"
],
"operationId": "actions/set-github-actions-default-workflow-permissions-organization",
"externalDocs": {
"description": "API method documentation",
"url": "https://docs.github.com/rest/reference/actions#set-default-workflow-permissions"
},
"parameters": [
{
"name": "org",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"204": {
"description": "Response"
}
},
"requestBody": {
"required": false,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"default_workflow_permissions": {
"type": "string",
"description": "The default workflow permissions granted to the GITHUB_TOKEN when running workflows in an organization.",
"enum": [
"read",
"write"
]
},
"can_approve_pull_request_reviews": {
"type": "boolean",
"description": "Whether GitHub Actions can submit approving pull request reviews."
}
}
},
"examples": {
"default": {
"value": {
"default_workflow_permissions": "read",
"can_approve_pull_request_reviews": true
}
}
}
}
}
},
"x-github": {
"githubCloudOnly": false,
"enabledForGitHubApps": true,
"category": "actions",
"subcategory": "permissions"
}
}
},
"/orgs/{org}/actions/runner-groups": {
"get": {
"summary": "List self-hosted runner groups for an organization",

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad8972093ceafcc6646f6de62d2f9e57f37e32338a6f67868ddf5bbf91e8c879
size 651608
oid sha256:59e0e199a1f0adfc7387463e7ff1ecbb2758a37df390fef1cf5537971f60cdee
size 651582

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c346ab4f168e1662367f2390ca797b549e6abffb8bb290be286e82e7929fc65
size 1358130
oid sha256:622f9db57a30cb1a51412a5a9c3ffc800b8b52c07ae37007e6615e40fdc03943
size 1358226

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84b8374f1cb46a35b072a4b1a65f9e613eec6b3e52462504ed87dd7b93b44caa
size 971037
oid sha256:517679ad9693e6aa7f9a69f3dca3d21e5ffe885a62843bea6412f81a070655bd
size 970518

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7f3d0db6ef443723e31fa66b721211a1cc8f5d28de9aebaadad5f8d7a0b66d7
size 3965155
oid sha256:3e1af9ae0658bb346ed529d210333480985aeb0a575a0ab2e36b7aeba21cba3c
size 3964055

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73672c1a92007e822911e5ce1234a0b9a024bf05dbc4df933ff8d634b858b912
size 606898
oid sha256:e24128dadf0c754be3f668d9829607f3f3174ef351a564f017e87641c058d7a0
size 606863

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e68bb09c8fb12df2dc3137f77eea9c90e92f35199f2ce1a655f70c0a186a8588
size 2545194
oid sha256:fee886937ca4540c3370b85d8dba1e3a58ee4a366fc7c623672f1dc7d5de184c
size 2545006

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:480a316943a3ac542bdac1381ed502fbdef4f6826485b8948aceb2bb21140bd4
size 670198
oid sha256:d9c88a33dec6a913b4d8cf661a9b575d4edc6cb0a48018c9f77f22542f85c29d
size 670184

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c41497703a716479dbe5501f4c10ed78d34a91822013ceabc829bbdf8de5d14b
size 3561138
oid sha256:9624482f0f01e98ebb4af4d890d0a9aa92c86b12e3dbf2d3830efb13f19d27c3
size 3561921

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:874e6335e3513533293a0a4e99d16e40f9f6ba1a12d3cea65716944666ce2a8a
size 597212
oid sha256:42d2caacfb6a95dba5c44520104cf980682a1b7dbd2f1099ba5cf9e2eb81d0ff
size 597296

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a1f768982394bc12511165d65ad476c0c50916cdc064824ab256a3f53b3b597
size 2438385
oid sha256:50ef7784f2bed0fa2734d2ae8b3d94c0032145a1bcb912fe241686ccb1c2b19d
size 2438463

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:816d03b7e390ac9ceeea6d2a8a48be5c5f9bfdc8ad5484e4ee341baa5b880314
size 665970
oid sha256:851c4ffa517f37f564d315717fa7d1d3eaadb14c126e42a481100cc120e9c01a
size 665740

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da9cab9883989d84d9e6dd10178ccc3869e3a5cc40ca498d311f18e67c0ed636
size 1396882
oid sha256:43863349594c57803fb721635c2a230ad19757bb6cb300f78cb679c7b153bdbc
size 1397009

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d7060f6342ddf5209622598828ba39db7aeb5414af405cad18ff0100b66686a
size 996306
oid sha256:056227b1770d6bcccebd068e0a591cea8b1be0c368b183a39e6f6146ad2b7815
size 995658

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fc76f13ee500d379f91b4c6c73a5b2380308a65f58a751fe3c6a6b294e47a5c
size 4060916
oid sha256:5d615e06ee4bb93f07e1fba72bd60db6ae80af8b572c628139d2cea77e9083b4
size 4061006

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b9d83c104f21058761134c60cbf41cb07c9938d6052db29f02a94df6620b3fee
size 619571
oid sha256:e6b4eab983f24b3688aba20ecca89daf1f23ad21052c9f07f83c4770c0c72091
size 619463

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cac20a59c3cb4d27f118f0297c1eb0fc7fecaef082d8a029480179a9150761f5
size 2605573
oid sha256:54d1ebdae16b0eee41ec691154a6efef083fab30d67675ee3e0e7455fe4b9b09
size 2606346

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9398e3651353347313d24d8f72bdbc4cdb38ca975b2b66c17bccf9e0e4a21cfa
size 684410
oid sha256:9d185ffdc0813ddf5b715cadf974c198faba88164eef046911abe585519a70d8
size 684639

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b246feba7d341724f381bd36bfd15a7da3702a8157f038250abe503fe14da62
size 3643740
oid sha256:cef49d6c67e1463e1c043d74af15f14af20d22bb69aeb5ca3d720472bc2d2334
size 3644251

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40f14d6b3a8fef598e96d0399a8b4e13c7fcf72d2e263ce8f39b49c45c7d468b
size 609575
oid sha256:8fe52fe566a39c9409d681726d14d7259bd4303260cbe87fc5936a6e1908ea2d
size 609839

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38d5f5abcff078795941204a490e46abb31dd281d647dfef4b03a2ef972817ec
size 2492836
oid sha256:1f978006b3cd85f5ddfe7d089643b50870e7c524e48e2cc5f79c9a78b2b9b35f
size 2492073

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c168bb650740330c47f12359938718acf0a5f9b3ec7c844741d2039b951f987e
size 680985
oid sha256:f8cf8700ea07bc87fea750ec31ab96c412e3dc9146aaba7bc5e1b73f67def6b5
size 680895

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64bbb42d06bfac22c214342080abc10ddb4d1ce368c908cb150090f7c5a255e4
size 1427457
oid sha256:f578957eb54936d95f7568548243aa76d7be4caa0ad1e5e7a5d3475d166566f9
size 1427636

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24bb87992884c32492345548e709e6516a0667723e730798c3bf17bf75eaa1a9
size 1029137
oid sha256:5e0f6490141452b91ed1c11938cc8ea7573b971f470c289a0dc67e11f640a877
size 1028766

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b44d4e334591dd1e5f097ce5b3d9aeccf4f4f05063cdd65c64e36001844f5e1a
size 4192253
oid sha256:61de8659696da676da4a1cdc2bb441cd2717a12ecec93efadb3beaa0921f0c1b
size 4191201

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:664a4e205edabc7828404b67d87cf166c138f8d2d181cbc4792095521fca9e46
size 634014
oid sha256:65c993b035fee6edec3a726ebb5688d19c54bb857e5572957978988e77b17945
size 634030

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1240682d874d9dd55a2bff684be277a673c78be7da89c0ecb2060ed01184dc8
size 2669839
oid sha256:161730cc505e5efa2bec728e87d6274cdcfbdbdbfa953f0b31591c53a11d80ea
size 2669021

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30757119089fa3dfc6e8341b76f21c033a22c9528720b57f4d8dc9ab8cd98bc1
size 698063
oid sha256:1998d9c6bbc7c7413cb5cf5b974a7fc80c85ac89dfb7a0603ee630bc4f8e071e
size 697874

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1463dfcbc214d6b12ae9c847fa37cec908b9de528c84e079ce4fefe382c4e3e9
size 3724100
oid sha256:997fafdccaa5ca730158c1f57bcbf73677abcc1a92bf8b6dccadc6e33900e6aa
size 3723799

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c3c22834d8fed96bf7f91254c10a373b57add2e99c0614c6a5d71b07a76c6d4
size 623339
oid sha256:8642729785c6bca665f2f631ae0107acade109d3368053358ca66c009906125a
size 623515

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92ea0710b7c3bad27a1336f5997fb99ed6f3adfdb26382a6738c34f3a179c994
size 2547486
oid sha256:e0d9a7bd87bfccfbe4fde7f2533c187cfb5b6f741396365cdcc1a6767b7fa337
size 2547500

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f8c8ad8d15ac263588a2b5fd58dd64e64f0af217fe6c309e71572f552a24ec65
size 703336
oid sha256:b0265ffa6fffdccc1ffaf8121308bceeeaaa458d0bcdc9e269643bfd070da1d9
size 703462

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:32b44efc47edbd9e7fc512a1f5707b309814896687ab94d7c59401171e6ef431
size 1485582
oid sha256:b14e30138c7ce24506509329ddfb9e46492866f1c413159fb8dd22abde602cdc
size 1486303

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:783df72016c1adf099fb34548acb747553709f15c015da0972460299e853a484
size 1067301
oid sha256:8c41b0ce144a448a60d86d25457082dee64024bf7926aff81272b9acc3d0fd8f
size 1067556

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38366da3480bdb95750d94c5749324233b9bff60e12330adbdc51c0d70fa560d
size 4292521
oid sha256:654ce7d10a2b9d8fe9388a6aae52cad3e537239a53dfb4352c0a98242cd29c30
size 4292811

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4f546bf67ca2214aa9abf62c195d9927ffdac784e4589cc0a383ea6b69910e7
size 652903
oid sha256:6e8c8ef67ec06650680db2b017bb830bfa4ca9ee10adbd848227a7c910878a5e
size 652813

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d7481052395f77587c7bbad5ab38405141f8c2ac13b287adde6319df03318a2
size 2769716
oid sha256:bba28209798dd66d7730765e2d4ee4cc148aa73a2191e3713dd7eb7a5fd32640
size 2769476

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:384fb4c09725eb996c1b5506fddcc9af502c122195bf9f04b724fdaf0e26129d
size 721249
oid sha256:b47b4fee048e282a199136074edc4f054ba1ea2e0ca94e6d83aa2763593d31ae
size 721037

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24a4dc503c4de05366fbfd8b38bd0999d6f000bfae59b288ba308d377fa82ac9
size 3848860
oid sha256:df016e9d0a2e2373f95e7aed1d389b6575fbebecabdd9323d47ebb89a800dbba
size 3849461

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ff2e1e7f4d0567b6de3e2d22d82b1a90e64a3ca0bcf9ab1cbd86a82e006ca2a3
size 642279
oid sha256:f7f91e4773f5c5eb5559a873041edfc9be241738e2573530e1b05ab6733f0e1c
size 642285

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6597de20c316930d638e20fde4d72fd26e12d5d626c86b59930a5d443b2e67e9
size 2629598
oid sha256:a36bde3e350cacd72b5adc6f16d020014958681a4a7e197745e921affbe135a4
size 2628691

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df605e3a0239aca847ac4cde6b1f90241f1c1770a9e8475c836edce389ff9a14
size 899754
oid sha256:43fc7d917f03d0113db59db796e6a003a5d849451207b9969f5b05d7bd68c107
size 899569

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:feb4e2dc227101cbc77726db7d4d002699b84a1f7a81c01125bb28b128b65c15
size 1643410
oid sha256:cac978f7dc53e986fdcc0f775dde65629d0c1c2fec67991134b1e79fb764e697
size 1642514

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b5344c040460a8b2181a8a4a3935259ccc76e2f1eb4ba40b5ea9524dd00e2f6
size 1346563
oid sha256:9d53c541f747e73d76ad88b7bdd7fa068acafaf772e9f734d73724535d51150a
size 1346303

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29aa838eb380e0de3c158180365e385bfa7236fff8b1ec7fbe73a153feef3f3f
size 5152818
oid sha256:0adb546ce57ce37033b50f0990128370a1d31a4ca5575cb2fe9f258fd788ab09
size 5152372

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ff2488d33619faef385b6a0c574299a3bf06a352ed04a1dbae8dfe3ccbfe8ba
size 818571
oid sha256:7cb2e528e46d3f4ca7b49ed18df34009fb5fd77793a222b3abe664d0fa6d8f24
size 818753

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25f99aa7f15ab69bb81765a5ee6293698cd36c7e5784928dd211d1d8af992a66
size 3296270
oid sha256:1e8b306cbed5997b4afb70c5a2338a784be73f0bea108c3492e260f7bf5bf2fe
size 3296179

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:348e61e24bdeaf36f114f024f9699366e6bfe26a07414a7441e33988981fbeb3
size 917193
oid sha256:412c310b18295d157d1eabd2dcfc143dd1b59a520b2bc26e48ec1dadafd80253
size 917057

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d5c82cc73efe43ed8fc419679d004ff057ab39e6687605c855502708e37637d
size 4684972
oid sha256:215155074e8cca7276d8296d264f747cceb4ab676bad105f43cf7cac68b25ccc
size 4684100

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de84d9a35b47baed2c35d90259efffdac74eafc91f705662cf8aef454f6a8494
size 807782
oid sha256:3872aa80cbfd5055a28ce62bc116163ab8d8ce469c2637d6faccb1992eab6d53
size 807488

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9a958ae966adf0f7275d9593e37b52a0c8d409fd3b1f68d9d18b1dab01f5a7c
size 3143848
oid sha256:992c5e42c9d77d5a8e2179f2946e0e0ed7e88c799feac64507e2f76af514756a
size 3143328

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:02b05754af356de5e90ee7cae6665059327c2911bcb1cc6dff6f59207b99f6e7
size 549959
oid sha256:632a1cf86bfae40ce9b782d5d8b1113f5472302a85846d83032dbb8175c74c41
size 550082

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed3efefe781542fa1db39bdd16f2e134f4ab5c2d1596cc6baff2feb61c4f9194
size 1107383
oid sha256:1d060e79a8cb200cf26f140ea88f8f302e8c2fc54efdec0c937bce2adf3dbc34
size 1107433

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cfa5962f3788e71b287f28603bb304ef19421263f30459a95eac74ff0cd21a8
size 848133
oid sha256:7575e5d0a5cd907ee65af0842b6deded4ed74f055b861248521cf56074d79f4b
size 848963

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43bb6c6816c4e247af0287834b1ee9003df9b23453738d624724543f00874f66
size 3405695
oid sha256:b3e9cdc1e6dc04c960901be1d070947854772aa4830400e8031e899552ce78e5
size 3406578

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b9da7fac37a264060905603d53d31c9a6c8da13504d28a31e36ed1bd56535da
size 512056
oid sha256:856725c2ef5fefc4514133bb807756f07e6b548e717aa2ad30a722bd57ec90fe
size 512174

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ecc4eac9ce200bad5bea85bcbde09d49ba2b053c3ab647864cda48c5dc07414
size 2086493
oid sha256:69b1b8ca8686deaed55b364ec5a91282426fe7779e41e0aad986322ce1c24e1f
size 2086075

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c69a914f36a0781653f731a432f52e6f90601a6944612c957abd85704296d12
size 562493
oid sha256:8eb01fa46c0b77863de185bb31c739140a9e6d1216d3fced32f8c826859470c1
size 562473

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:368f08bd61d3dea379a89285edb4fcabaf64747675f95af4e9af5298d3047346
size 2891468
oid sha256:0e1fc79ebd11200bbe68d87ce5a50a4ec4ad1f1a13e005d9630f71333fc90ade
size 2892602

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bdce66fa7cae0051e36c3c902458706f071c4676d364da6608cfc267581d712
size 504461
oid sha256:c9546a2ed091109842f616ed1840078aea5e5c4704386f87b859a2e90d85f04e
size 504495

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d9de416b7a7cfa5767f761a5f6a323bfd19ac8e377e8fe5ae608eabe639d1d5
size 1975382
oid sha256:39dbc767db5c721bc242472062b058ef31ba625a22b11aba2bf50793a64a14ed
size 1975359

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31c82560f3678edd4d910e348bb682e75f2c8d54df388a08c0a50e44ece2d67c
size 823854
oid sha256:38902e0dccb967d4ed7c45e67f5994ef26fddc608657135e11c3a46892843507
size 824055

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc92f8bc07d91f0235f760ccf1d7003b352e69e0b4394d2633b36b240386bf83
size 1700338
oid sha256:d2503fd609c3eb8b7da7636f3d1cd9461244cb18adbcb1dcf3987ddcfe481664
size 1700109

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6e5e66ac5faa58168e5b3e0eb4d065f9ae2de62c17192fd95bfe550d5425144
size 1221423
oid sha256:025e3bf727bcf82e164d3159b7bccde9c27cb22ca2f0bcf1bedfb929fcb98944
size 1221335

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:04a384ce184e9c0d2000b3be83691ebdac21162b9081f85157730b0e1f8650be
size 4929627
oid sha256:e44ac641365c55524af344151061db0c961fcb80c1e712a15aeaa901705915cf
size 4928568

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc39c5f50e281db92e3e258ba9a654be8fa8fa8dd970f8f609aa6d861a15eaaf
size 775183
oid sha256:a9c1a7dfb75651102d59bda2b91af4a57f943f00147f45df3faeba580c0f384b
size 774953

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a5df4deada3bc5328fdb776970249c09f5fbcca305734adeaa4dbff89bc63b13
size 3269617
oid sha256:cdc8c65bd989904f5200c54e1dd7f5eb58d504e2d3babf1d9d15f8af16aa7df8
size 3269585

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bc32d5dbba81d05f656116bc90329077e6a2736b43d014c6774200ca06ed59ee
size 845845
oid sha256:8ce9c64e2eeb0f1d0ef122f2273737c7ad583fba74b367305eec95f4a7ef9ddd
size 846017

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fd3957ccb9785bdbf541215accb7c914d00b03208bf9bca87124f96ebbf422a
size 4540098
oid sha256:164f7651a3bdafc5418f3713d9fcde0a0c022b080daf72dd4b9e4108e95a8937
size 4541377

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:58a0de1fbdf62ed869e0fda9dac5a394071e5ae06d013e6f838bc2cc93fc4d2a
size 763788
oid sha256:80fe3ce7026113fa5e31b3e0cb17fd37348db53c02a622ea308f2609d756c873
size 763813

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd723b69ec55ed3ccdb7788bd5513cda72c093879740d6711ba221270957a8cb
size 3112028
oid sha256:0919e415def265cedb90ecdaecb3d5db3921f3139d63dad08ebe44a1043a1ef6
size 3112419

6
package-lock.json generated
View File

@@ -126,7 +126,6 @@
"count-array-values": "^1.2.1",
"cross-env": "^7.0.3",
"csp-parse": "0.0.2",
"csv-parse": "^4.16.3",
"dedent": "^0.7.0",
"domwaiter": "^1.3.0",
"eslint": "^7.32.0",
@@ -177,6 +176,7 @@
},
"optionalDependencies": {
"bottleneck": "^2.19.5",
"csv-parse": "^4.16.3",
"esm": "^3.2.25",
"image-size": "^1.0.0",
"jest-puppeteer": "^5.0.4",
@@ -7687,7 +7687,7 @@
"version": "4.16.3",
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz",
"integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==",
"dev": true
"optional": true
},
"node_modules/cwd": {
"version": "0.10.0",
@@ -29225,7 +29225,7 @@
"version": "4.16.3",
"resolved": "https://registry.npmjs.org/csv-parse/-/csv-parse-4.16.3.tgz",
"integrity": "sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==",
"dev": true
"optional": true
},
"cwd": {
"version": "0.10.0",

View File

@@ -128,7 +128,6 @@
"count-array-values": "^1.2.1",
"cross-env": "^7.0.3",
"csp-parse": "0.0.2",
"csv-parse": "^4.16.3",
"dedent": "^0.7.0",
"domwaiter": "^1.3.0",
"eslint": "^7.32.0",
@@ -182,6 +181,7 @@
"name": "docs.github.com",
"optionalDependencies": {
"bottleneck": "^2.19.5",
"csv-parse": "^4.16.3",
"esm": "^3.2.25",
"image-size": "^1.0.0",
"jest-puppeteer": "^5.0.4",

View File

@@ -1,10 +1,20 @@
#!/usr/bin/env node
import fs from 'fs/promises'
import path from 'path'
import readFrontmatter from '../../lib/read-frontmatter.js'
import csv from 'csv-parse'
import { exit } from 'process'
import csv from 'csv-parse'
// NOTE: If you get this error:
//
// Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'csv-parse' ...
//
// it's because you haven't installed all the *optional* dependencies.
// To do that, run:
//
// npm install --include=optional
//
import readFrontmatter from '../../lib/read-frontmatter.js'
main()
async function main() {