Skip to content

Commit

Permalink
maint: fix spelling errors (#897)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Mar 4, 2024
1 parent 1a8dcd7 commit e0b47e2
Show file tree
Hide file tree
Showing 24 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The webhook schemas are [JSON schemas](https://json-schema.org/) that are manual
"enum": ["foo", "bar", null]
}
```
- When a property can be of multiple types, use a [`oneOf`](https://json-schema.org/understanding-json-schema/reference/combining.html#oneof) for the decleration of that property, and declare each type in the `oneOf`
- When a property can be of multiple types, use a [`oneOf`](https://json-schema.org/understanding-json-schema/reference/combining.html#oneof) for the declaration of that property, and declare each type in the `oneOf`
- When it is possible that a property may have a value of `null`:

- if there is only one other type the property can be, change the `type` property to an array including the type, and the string `null`
Expand Down
2 changes: 1 addition & 1 deletion cache/event-types-and-payloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -8183,7 +8183,7 @@ <h3>
</span><span class="nt">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"User"</span><span class="p">,</span><span class="w">
</span><span class="nt">"site_admin"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="nt">"body"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Maybe you should use more emojji on this line."</span><span class="p">,</span><span class="w">
</span><span class="nt">"body"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Maybe you should use more emoji on this line."</span><span class="p">,</span><span class="w">
</span><span class="nt">"created_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2019-05-15T15:20:37Z"</span><span class="p">,</span><span class="w">
</span><span class="nt">"updated_at"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2019-05-15T15:20:38Z"</span><span class="p">,</span><span class="w">
</span><span class="nt">"html_url"</span><span class="p">:</span><span class="w"> </span><span class="s2">"https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630"</span><span class="p">,</span><span class="w">
Expand Down
4 changes: 2 additions & 2 deletions cache/ghes-35/webhook-events-and-payloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -9561,8 +9561,8 @@ <h3 id="webhook-payload-example-24">
"summary": "A simple npm package to demonstrate GitHub Packages",
"name": "sha256:3da1996a8115d7616457760d9920b815241d0a03b34cf5f04e9a0e9d8de37498",
"description": "",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [Github Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "&lt;h1&gt;hello-world-npm&lt;/h1&gt;\n&lt;p&gt;This is a simple npm package that demonstrates the &lt;a href=\"https://github.com/features/package\"&gt;Github Package Registry&lt;/a&gt;.&lt;/p&gt;\n&lt;h2&gt;Installation&lt;/h2&gt;\n&lt;p&gt;&lt;code&gt;$ npm install&lt;/code&gt;&lt;/p&gt;\n&lt;h2&gt;Usage&lt;/h2&gt;\n&lt;pre&gt;&lt;code&gt;const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n&lt;/code&gt;&lt;/pre&gt;",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [GitHub Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "&lt;h1&gt;hello-world-npm&lt;/h1&gt;\n&lt;p&gt;This is a simple npm package that demonstrates the &lt;a href=\"https://github.com/features/package\"&gt;GitHub Package Registry&lt;/a&gt;.&lt;/p&gt;\n&lt;h2&gt;Installation&lt;/h2&gt;\n&lt;p&gt;&lt;code&gt;$ npm install&lt;/code&gt;&lt;/p&gt;\n&lt;h2&gt;Usage&lt;/h2&gt;\n&lt;pre&gt;&lt;code&gt;const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n&lt;/code&gt;&lt;/pre&gt;",
"release": {
"url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases/17264286",
"html_url": "https://github.com/Codertocat/hello-world-npm/releases/tag/1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions cache/github.ae/webhook-events-and-payloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -9202,8 +9202,8 @@ <h3 id="webhook-payload-example-23">
"summary": "A simple npm package to demonstrate GitHub Packages",
"name": "sha256:3da1996a8115d7616457760d9920b815241d0a03b34cf5f04e9a0e9d8de37498",
"description": "",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [Github Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "&lt;h1&gt;hello-world-npm&lt;/h1&gt;\n&lt;p&gt;This is a simple npm package that demonstrates the &lt;a href=\"https://github.com/features/package\"&gt;Github Package Registry&lt;/a&gt;.&lt;/p&gt;\n&lt;h2&gt;Installation&lt;/h2&gt;\n&lt;p&gt;&lt;code&gt;$ npm install&lt;/code&gt;&lt;/p&gt;\n&lt;h2&gt;Usage&lt;/h2&gt;\n&lt;pre&gt;&lt;code&gt;const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n&lt;/code&gt;&lt;/pre&gt;",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [GitHub Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "&lt;h1&gt;hello-world-npm&lt;/h1&gt;\n&lt;p&gt;This is a simple npm package that demonstrates the &lt;a href=\"https://github.com/features/package\"&gt;GitHub Package Registry&lt;/a&gt;.&lt;/p&gt;\n&lt;h2&gt;Installation&lt;/h2&gt;\n&lt;p&gt;&lt;code&gt;$ npm install&lt;/code&gt;&lt;/p&gt;\n&lt;h2&gt;Usage&lt;/h2&gt;\n&lt;pre&gt;&lt;code&gt;const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n&lt;/code&gt;&lt;/pre&gt;",
"release": {
"url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases/17264286",
"html_url": "https://github.com/Codertocat/hello-world-npm/releases/tag/1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"site_admin": false
},
"html_url": "https://github.com/Codertocat/hello-world-npm",
"description": "This is a simple npm package that demonstrates the Github Package Registry",
"description": "This is a simple npm package that demonstrates the GitHub Package Registry",
"fork": false,
"url": "https://api.github.com/repos/Codertocat/hello-world-npm",
"forks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/forks",
Expand Down
26 changes: 13 additions & 13 deletions payload-examples/api.github.com/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -14067,7 +14067,7 @@
"site_admin": false
},
"html_url": "https://github.com/Codertocat/hello-world-npm",
"description": "This is a simple npm package that demonstrates the Github Package Registry",
"description": "This is a simple npm package that demonstrates the GitHub Package Registry",
"fork": false,
"url": "https://api.github.com/repos/Codertocat/hello-world-npm",
"forks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/forks",
Expand Down Expand Up @@ -33517,7 +33517,7 @@
"package": {
"id": 10696,
"name": "hello-world-npm",
"namespace": "Codertocaat/hello-world-npm",
"namespace": "Codertocat/hello-world-npm",
"description": null,
"ecosystem": "docker",
"package_type": "npm",
Expand Down Expand Up @@ -33550,8 +33550,8 @@
"summary": "A simple npm package to demonstrate GitHub Packages",
"name": "sha256:3da1996a8115d7616457760d9920b815241d0a03b34cf5f04e9a0e9d8de37498",
"description": "",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [Github Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "<h1>hello-world-npm</h1>\n<p>This is a simple npm package that demonstrates the <a href=\"https://github.com/features/package\">Github Package Registry</a>.</p>\n<h2>Installation</h2>\n<p><code>$ npm install</code></p>\n<h2>Usage</h2>\n<pre><code>const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n</code></pre>",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [GitHub Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "<h1>hello-world-npm</h1>\n<p>This is a simple npm package that demonstrates the <a href=\"https://github.com/features/package\">GitHub Package Registry</a>.</p>\n<h2>Installation</h2>\n<p><code>$ npm install</code></p>\n<h2>Usage</h2>\n<pre><code>const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n</code></pre>",
"release": {
"url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases/17264286",
"html_url": "https://github.com/Codertocat/hello-world-npm/releases/tag/1.0.0",
Expand Down Expand Up @@ -56347,7 +56347,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down Expand Up @@ -56915,7 +56915,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down Expand Up @@ -57497,7 +57497,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down Expand Up @@ -58066,7 +58066,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down Expand Up @@ -59581,7 +59581,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down Expand Up @@ -60156,7 +60156,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down Expand Up @@ -67076,7 +67076,7 @@
"monthly_price_in_dollars": 5,
"name": "$5 a month",
"is_one_time": false,
"is_custom_ammount": false
"is_custom_amount": false
}
},
"sender": {
Expand Down Expand Up @@ -67154,7 +67154,7 @@
"monthly_price_in_dollars": 5,
"name": "$5 a month",
"is_one_time": false,
"is_custom_ammount": false
"is_custom_amount": false
}
},
"changes": {
Expand All @@ -67167,7 +67167,7 @@
"monthly_price_in_dollars": 10,
"name": "$10 a month",
"is_one_time": false,
"is_custom_ammount": false
"is_custom_amount": false
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"package": {
"id": 10696,
"name": "hello-world-npm",
"namespace": "Codertocaat/hello-world-npm",
"namespace": "Codertocat/hello-world-npm",
"description": null,
"ecosystem": "docker",
"package_type": "npm",
Expand Down Expand Up @@ -36,8 +36,8 @@
"summary": "A simple npm package to demonstrate GitHub Packages",
"name": "sha256:3da1996a8115d7616457760d9920b815241d0a03b34cf5f04e9a0e9d8de37498",
"description": "",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [Github Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "<h1>hello-world-npm</h1>\n<p>This is a simple npm package that demonstrates the <a href=\"https://github.com/features/package\">Github Package Registry</a>.</p>\n<h2>Installation</h2>\n<p><code>$ npm install</code></p>\n<h2>Usage</h2>\n<pre><code>const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n</code></pre>",
"body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [GitHub Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
"body_html": "<h1>hello-world-npm</h1>\n<p>This is a simple npm package that demonstrates the <a href=\"https://github.com/features/package\">GitHub Package Registry</a>.</p>\n<h2>Installation</h2>\n<p><code>$ npm install</code></p>\n<h2>Usage</h2>\n<pre><code>const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n</code></pre>",
"release": {
"url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases/17264286",
"html_url": "https://github.com/Codertocat/hello-world-npm/releases/tag/1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T15:20:37Z",
"updated_at": "2019-05-15T15:20:38Z",
"html_url": "https://github.com/Codertocat/Hello-World/pull/2#discussion_r284312630",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"monthly_price_in_dollars": 5,
"name": "$5 a month",
"is_one_time": false,
"is_custom_ammount": false
"is_custom_amount": false
}
},
"sender": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"monthly_price_in_dollars": 5,
"name": "$5 a month",
"is_one_time": false,
"is_custom_ammount": false
"is_custom_amount": false
}
},
"changes": {
Expand All @@ -65,7 +65,7 @@
"monthly_price_in_dollars": 10,
"name": "$10 a month",
"is_one_time": false,
"is_custom_ammount": false
"is_custom_amount": false
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion payload-examples/github.ae/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -19619,7 +19619,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T19:38:07Z",
"updated_at": "2019-05-15T19:38:08Z",
"html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"type": "User",
"site_admin": false
},
"body": "Maybe you should use more emojji on this line.",
"body": "Maybe you should use more emoji on this line.",
"created_at": "2019-05-15T19:38:07Z",
"updated_at": "2019-05-15T19:38:08Z",
"html_url": "https://octocoders.github.io/Codertocat/Hello-World/pull/2#discussion_r2",
Expand Down
2 changes: 1 addition & 1 deletion payload-schemas/api.github.com/common/release.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"name": { "type": "string" },
"draft": {
"type": "boolean",
"description": "Wether the release is a draft or published"
"description": "Whether the release is a draft or published"
},
"author": { "$ref": "user.schema.json" },
"prerelease": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"monthly_price_in_dollars",
"name",
"is_one_time",
"is_custom_ammount"
"is_custom_amount"
],
"type": "object",
"properties": {
Expand All @@ -21,7 +21,7 @@
"monthly_price_in_dollars": { "type": "integer" },
"name": { "type": "string" },
"is_one_time": { "type": "boolean" },
"is_custom_ammount": { "type": "boolean" }
"is_custom_amount": { "type": "boolean" }
},
"additionalProperties": false,
"title": "Sponsorship Tier"
Expand Down
4 changes: 2 additions & 2 deletions payload-types/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7237,7 +7237,7 @@ export interface Release {
target_commitish: string;
name: string;
/**
* Wether the release is a draft or published
* Whether the release is a draft or published
*/
draft: boolean;
author: User;
Expand Down Expand Up @@ -7927,7 +7927,7 @@ export interface SponsorshipTier {
monthly_price_in_dollars: number;
name: string;
is_one_time: boolean;
is_custom_ammount: boolean;
is_custom_amount: boolean;
}
export interface SponsorshipCreatedEvent {
action: "created";
Expand Down

0 comments on commit e0b47e2

Please sign in to comment.