Skip to content

Commit

Permalink
Merge branch 'main' into schema-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfloyd committed Mar 11, 2024
2 parents 333532a + cdd43ea commit 95fa85e
Show file tree
Hide file tree
Showing 26 changed files with 197 additions and 168 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add_to_octokit_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v0.6.0
with:
project-url: https://github.com/orgs/octokit/projects/10
github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }}
Expand Down
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
Loading

0 comments on commit 95fa85e

Please sign in to comment.