Skip to content

Commit

Permalink
feat: schema updates (adds custom_properties field) to branch_protect…
Browse files Browse the repository at this point in the history
…ion_rule, check_suite, code_scanning_alert, commit_comment, create, delete, dependabot_alert, deploy_key, deployment, deployment_review, deployment_status, discussion, disscussion_comment, fork, gollum, issue_comment, issues, label, member, merge_group, meta, milestone, package, page_build. ping, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, pull_request_review_thread, push, registry_package, release, repository, repository_dispatch, repository_import, repository_vulnerability_alert, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_job, workflow_run, branch_protection_configuration, common, custom_property, custom_property_values (#904)

* feat: new `branch_protection_rule` event

* feat: new `custom_property_values` event

* feat: new `custom_property` on `repository`

* fix: update examples

* build: update types

* fix: update examples

* build: update types

* build: update index.json

---------

Co-authored-by: Nick Floyd <[email protected]>
  • Loading branch information
wolfy1339 and nickfloyd authored Mar 11, 2024
1 parent cdd43ea commit bc5f6fd
Show file tree
Hide file tree
Showing 245 changed files with 1,604 additions and 686 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@
"forks": 0,
"open_issues": 1,
"watchers": 0,
"default_branch": "main"
"default_branch": "main",
"custom_properties": {}
},
"sender": {
"login": "wolfy1339",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "octo-org",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "octo-org",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "octo-org",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "electron",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "github",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "octocoders-linter[bot]",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
3 changes: 2 additions & 1 deletion payload-examples/api.github.com/create/payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
3 changes: 2 additions & 1 deletion payload-examples/api.github.com/delete/payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@
"forks": 0,
"open_issues": 13,
"watchers": 0,
"default_branch": "master"
"default_branch": "master",
"custom_properties": {}
},
"sender": {
"login": "github",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@
"forks": 0,
"open_issues": 0,
"watchers": 0,
"default_branch": "main"
"default_branch": "main",
"custom_properties": {}
},
"sender": {
"login": "github",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"sender": {
"login": "Codertocat",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@
"is_template": false,
"topics": [],
"visibility": "public",
"web_commit_signoff_required": false
"web_commit_signoff_required": false,
"custom_properties": {}
},
"organization": {
"login": "Octocoders",
Expand Down
Loading

0 comments on commit bc5f6fd

Please sign in to comment.