Skip to content

Commit 161e014

Browse files
octokitbotOctokit Bot
andauthored
feat: add new public beta APIs for creating, reading, updating and deleting custom repo roles and return additional attributes on custom repo roles in existing APIs (#288)
WIP: schema updates Co-authored-by: Octokit Bot <octokitbot@martynus.net>
1 parent a0958e3 commit 161e014

40 files changed

+5991
-1648
lines changed

cache/api.github.com.deref.json

Lines changed: 1720 additions & 474 deletions
Large diffs are not rendered by default.

cache/api.github.com.json

Lines changed: 503 additions & 23 deletions
Large diffs are not rendered by default.

cache/ghes-3.2.deref.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85514,8 +85514,9 @@
8551485514
},
8551585515
"use_squash_pr_title_as_default": {
8551685516
"type": "boolean",
85517-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
85518-
"default": false
85517+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
85518+
"default": false,
85519+
"deprecated": true
8551985520
},
8552085521
"squash_merge_commit_title": {
8552185522
"type": "string",
@@ -111039,8 +111040,9 @@
111039111040
},
111040111041
"use_squash_pr_title_as_default": {
111041111042
"type": "boolean",
111042-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
111043-
"default": false
111043+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
111044+
"default": false,
111045+
"deprecated": true
111044111046
},
111045111047
"squash_merge_commit_title": {
111046111048
"type": "string",
@@ -131554,7 +131556,7 @@
131554131556
},
131555131557
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
131556131558
"get": {
131557-
"summary": "List workflow runs",
131559+
"summary": "List workflow runs for a workflow",
131558131560
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
131559131561
"tags": [
131560131562
"actions"
@@ -191569,7 +191571,7 @@
191569191571
},
191570191572
"sha": {
191571191573
"type": "string",
191572-
"description": "The blob SHA of the file being replaced."
191574+
"description": "The blob SHA of the file being deleted."
191573191575
},
191574191576
"branch": {
191575191577
"type": "string",

cache/ghes-3.2.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13538,8 +13538,9 @@
1353813538
},
1353913539
"use_squash_pr_title_as_default": {
1354013540
"type": "boolean",
13541-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
13542-
"default": false
13541+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
13542+
"default": false,
13543+
"deprecated": true
1354313544
},
1354413545
"squash_merge_commit_title": {
1354513546
"type": "string",
@@ -17871,8 +17872,9 @@
1787117872
},
1787217873
"use_squash_pr_title_as_default": {
1787317874
"type": "boolean",
17874-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
17875-
"default": false
17875+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
17876+
"default": false,
17877+
"deprecated": true
1787617878
},
1787717879
"squash_merge_commit_title": {
1787817880
"type": "string",
@@ -20114,7 +20116,7 @@
2011420116
},
2011520117
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
2011620118
"get": {
20117-
"summary": "List workflow runs",
20119+
"summary": "List workflow runs for a workflow",
2011820120
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.2/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
2011920121
"tags": [
2012020122
"actions"
@@ -26991,7 +26993,7 @@
2699126993
},
2699226994
"sha": {
2699326995
"type": "string",
26994-
"description": "The blob SHA of the file being replaced."
26996+
"description": "The blob SHA of the file being deleted."
2699526997
},
2699626998
"branch": {
2699726999
"type": "string",

cache/ghes-3.3.deref.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86241,8 +86241,9 @@
8624186241
},
8624286242
"use_squash_pr_title_as_default": {
8624386243
"type": "boolean",
86244-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
86245-
"default": false
86244+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
86245+
"default": false,
86246+
"deprecated": true
8624686247
},
8624786248
"squash_merge_commit_title": {
8624886249
"type": "string",
@@ -112047,8 +112048,9 @@
112047112048
},
112048112049
"use_squash_pr_title_as_default": {
112049112050
"type": "boolean",
112050-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
112051-
"default": false
112051+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
112052+
"default": false,
112053+
"deprecated": true
112052112054
},
112053112055
"squash_merge_commit_title": {
112054112056
"type": "string",
@@ -132746,7 +132748,7 @@
132746132748
},
132747132749
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
132748132750
"get": {
132749-
"summary": "List workflow runs",
132751+
"summary": "List workflow runs for a workflow",
132750132752
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
132751132753
"tags": [
132752132754
"actions"
@@ -193380,7 +193382,7 @@
193380193382
},
193381193383
"sha": {
193382193384
"type": "string",
193383-
"description": "The blob SHA of the file being replaced."
193385+
"description": "The blob SHA of the file being deleted."
193384193386
},
193385193387
"branch": {
193386193388
"type": "string",

cache/ghes-3.3.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13412,8 +13412,9 @@
1341213412
},
1341313413
"use_squash_pr_title_as_default": {
1341413414
"type": "boolean",
13415-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
13416-
"default": false
13415+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
13416+
"default": false,
13417+
"deprecated": true
1341713418
},
1341813419
"squash_merge_commit_title": {
1341913420
"type": "string",
@@ -17550,8 +17551,9 @@
1755017551
},
1755117552
"use_squash_pr_title_as_default": {
1755217553
"type": "boolean",
17553-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
17554-
"default": false
17554+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
17555+
"default": false,
17556+
"deprecated": true
1755517557
},
1755617558
"squash_merge_commit_title": {
1755717559
"type": "string",
@@ -19782,7 +19784,7 @@
1978219784
},
1978319785
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
1978419786
"get": {
19785-
"summary": "List workflow runs",
19787+
"summary": "List workflow runs for a workflow",
1978619788
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.3/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
1978719789
"tags": [
1978819790
"actions"
@@ -26860,7 +26862,7 @@
2686026862
},
2686126863
"sha": {
2686226864
"type": "string",
26863-
"description": "The blob SHA of the file being replaced."
26865+
"description": "The blob SHA of the file being deleted."
2686426866
},
2686526867
"branch": {
2686626868
"type": "string",

cache/ghes-3.4.deref.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94848,8 +94848,9 @@
9484894848
},
9484994849
"use_squash_pr_title_as_default": {
9485094850
"type": "boolean",
94851-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
94852-
"default": false
94851+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
94852+
"default": false,
94853+
"deprecated": true
9485394854
},
9485494855
"squash_merge_commit_title": {
9485594856
"type": "string",
@@ -120843,8 +120844,9 @@
120843120844
},
120844120845
"use_squash_pr_title_as_default": {
120845120846
"type": "boolean",
120846-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
120847-
"default": false
120847+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
120848+
"default": false,
120849+
"deprecated": true
120848120850
},
120849120851
"squash_merge_commit_title": {
120850120852
"type": "string",
@@ -142468,7 +142470,7 @@
142468142470
},
142469142471
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
142470142472
"get": {
142471-
"summary": "List workflow runs",
142473+
"summary": "List workflow runs for a workflow",
142472142474
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
142473142475
"tags": [
142474142476
"actions"
@@ -206925,7 +206927,7 @@
206925206927
},
206926206928
"sha": {
206927206929
"type": "string",
206928-
"description": "The blob SHA of the file being replaced."
206930+
"description": "The blob SHA of the file being deleted."
206929206931
},
206930206932
"branch": {
206931206933
"type": "string",

cache/ghes-3.4.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9236,7 +9236,7 @@
92369236
},
92379237
"examples": {
92389238
"default": {
9239-
"$ref": "#/components/examples/organization-custom-repository-role-example-old"
9239+
"$ref": "#/components/examples/organization-custom-repository-role-example"
92409240
}
92419241
}
92429242
}
@@ -14716,8 +14716,9 @@
1471614716
},
1471714717
"use_squash_pr_title_as_default": {
1471814718
"type": "boolean",
14719-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
14720-
"default": false
14719+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
14720+
"default": false,
14721+
"deprecated": true
1472114722
},
1472214723
"squash_merge_commit_title": {
1472314724
"type": "string",
@@ -18905,8 +18906,9 @@
1890518906
},
1890618907
"use_squash_pr_title_as_default": {
1890718908
"type": "boolean",
18908-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
18909-
"default": false
18909+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
18910+
"default": false,
18911+
"deprecated": true
1891018912
},
1891118913
"squash_merge_commit_title": {
1891218914
"type": "string",
@@ -21406,7 +21408,7 @@
2140621408
},
2140721409
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
2140821410
"get": {
21409-
"summary": "List workflow runs",
21411+
"summary": "List workflow runs for a workflow",
2141021412
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.4/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
2141121413
"tags": [
2141221414
"actions"
@@ -28448,7 +28450,7 @@
2844828450
},
2844928451
"sha": {
2845028452
"type": "string",
28451-
"description": "The blob SHA of the file being replaced."
28453+
"description": "The blob SHA of the file being deleted."
2845228454
},
2845328455
"branch": {
2845428456
"type": "string",
@@ -79785,7 +79787,7 @@
7978579787
}
7978679788
]
7978779789
},
79788-
"organization-custom-repository-role-example-old": {
79790+
"organization-custom-repository-role-example": {
7978979791
"value": {
7979079792
"total_count": 2,
7979179793
"custom_roles": [

cache/ghes-3.5.deref.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96951,8 +96951,9 @@
9695196951
},
9695296952
"use_squash_pr_title_as_default": {
9695396953
"type": "boolean",
96954-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
96955-
"default": false
96954+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
96955+
"default": false,
96956+
"deprecated": true
9695696957
},
9695796958
"squash_merge_commit_title": {
9695896959
"type": "string",
@@ -122840,8 +122841,9 @@
122840122841
},
122841122842
"use_squash_pr_title_as_default": {
122842122843
"type": "boolean",
122843-
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
122844-
"default": false
122844+
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead.",
122845+
"default": false,
122846+
"deprecated": true
122845122847
},
122846122848
"squash_merge_commit_title": {
122847122849
"type": "string",
@@ -150391,7 +150393,7 @@
150391150393
},
150392150394
"/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": {
150393150395
"get": {
150394-
"summary": "List workflow runs",
150396+
"summary": "List workflow runs for a workflow",
150395150397
"description": "List all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.5/rest/overview/resources-in-the-rest-api#parameters).\n\nAnyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope.",
150396150398
"tags": [
150397150399
"actions"
@@ -215354,7 +215356,7 @@
215354215356
},
215355215357
"sha": {
215356215358
"type": "string",
215357-
"description": "The blob SHA of the file being replaced."
215359+
"description": "The blob SHA of the file being deleted."
215358215360
},
215359215361
"branch": {
215360215362
"type": "string",

0 commit comments

Comments
 (0)