@octokit/openapi 7.3.0 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +8561 -1
- package/generated/api.github.com.json +322 -10
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +103 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +103 -1
- package/generated/ghes-3.2.deref.json +140 -1
- package/generated/ghes-3.2.json +137 -10
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
- package/generated/ghes-3.3.deref.json +140 -1
- package/generated/ghes-3.3.json +137 -10
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +141 -1
- package/generated/ghes-3.4.json +138 -10
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +764 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +125 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +124 -4
- package/generated/ghes-3.5.deref.json +151 -1
- package/generated/ghes-3.5.json +148 -10
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +311 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +175 -1
- package/generated/ghes-3.6.deref.json +6997 -1
- package/generated/ghes-3.6.json +322 -10
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +701 -3
- package/generated/github.ae-diff-to-api.github.com.deref.json +115 -1
- package/generated/github.ae-diff-to-api.github.com.json +114 -4
- package/generated/github.ae.deref.json +129 -1
- package/generated/github.ae.json +126 -10
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -6938,6 +6938,7 @@
|
|
|
6938
6938
|
"parameters": [
|
|
6939
6939
|
{
|
|
6940
6940
|
"name": "organization_id",
|
|
6941
|
+
"description": "The unique identifier of the organization.",
|
|
6941
6942
|
"in": "path",
|
|
6942
6943
|
"required": true,
|
|
6943
6944
|
"schema": {
|
|
@@ -14467,6 +14468,40 @@
|
|
|
14467
14468
|
"type": "boolean",
|
|
14468
14469
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
14469
14470
|
"default": false
|
|
14471
|
+
},
|
|
14472
|
+
"squash_merge_commit_title": {
|
|
14473
|
+
"type": "string",
|
|
14474
|
+
"enum": [
|
|
14475
|
+
"PR_TITLE",
|
|
14476
|
+
"COMMIT_OR_PR_TITLE"
|
|
14477
|
+
],
|
|
14478
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
14479
|
+
},
|
|
14480
|
+
"squash_merge_commit_message": {
|
|
14481
|
+
"type": "string",
|
|
14482
|
+
"enum": [
|
|
14483
|
+
"PR_BODY",
|
|
14484
|
+
"COMMIT_MESSAGES",
|
|
14485
|
+
"BLANK"
|
|
14486
|
+
],
|
|
14487
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
14488
|
+
},
|
|
14489
|
+
"merge_commit_title": {
|
|
14490
|
+
"type": "string",
|
|
14491
|
+
"enum": [
|
|
14492
|
+
"PR_TITLE",
|
|
14493
|
+
"MERGE_MESSAGE"
|
|
14494
|
+
],
|
|
14495
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
14496
|
+
},
|
|
14497
|
+
"merge_commit_message": {
|
|
14498
|
+
"type": "string",
|
|
14499
|
+
"enum": [
|
|
14500
|
+
"PR_BODY",
|
|
14501
|
+
"PR_TITLE",
|
|
14502
|
+
"BLANK"
|
|
14503
|
+
],
|
|
14504
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
14470
14505
|
}
|
|
14471
14506
|
},
|
|
14472
14507
|
"required": [
|
|
@@ -19304,6 +19339,40 @@
|
|
|
19304
19339
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
19305
19340
|
"default": false
|
|
19306
19341
|
},
|
|
19342
|
+
"squash_merge_commit_title": {
|
|
19343
|
+
"type": "string",
|
|
19344
|
+
"enum": [
|
|
19345
|
+
"PR_TITLE",
|
|
19346
|
+
"COMMIT_OR_PR_TITLE"
|
|
19347
|
+
],
|
|
19348
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
19349
|
+
},
|
|
19350
|
+
"squash_merge_commit_message": {
|
|
19351
|
+
"type": "string",
|
|
19352
|
+
"enum": [
|
|
19353
|
+
"PR_BODY",
|
|
19354
|
+
"COMMIT_MESSAGES",
|
|
19355
|
+
"BLANK"
|
|
19356
|
+
],
|
|
19357
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
19358
|
+
},
|
|
19359
|
+
"merge_commit_title": {
|
|
19360
|
+
"type": "string",
|
|
19361
|
+
"enum": [
|
|
19362
|
+
"PR_TITLE",
|
|
19363
|
+
"MERGE_MESSAGE"
|
|
19364
|
+
],
|
|
19365
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
19366
|
+
},
|
|
19367
|
+
"merge_commit_message": {
|
|
19368
|
+
"type": "string",
|
|
19369
|
+
"enum": [
|
|
19370
|
+
"PR_BODY",
|
|
19371
|
+
"PR_TITLE",
|
|
19372
|
+
"BLANK"
|
|
19373
|
+
],
|
|
19374
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
19375
|
+
},
|
|
19307
19376
|
"archived": {
|
|
19308
19377
|
"type": "boolean",
|
|
19309
19378
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -19977,6 +20046,11 @@
|
|
|
19977
20046
|
"description": "Whether to enable debug logging for the re-run."
|
|
19978
20047
|
}
|
|
19979
20048
|
}
|
|
20049
|
+
},
|
|
20050
|
+
"examples": {
|
|
20051
|
+
"default": {
|
|
20052
|
+
"value": null
|
|
20053
|
+
}
|
|
19980
20054
|
}
|
|
19981
20055
|
}
|
|
19982
20056
|
}
|
|
@@ -21674,9 +21748,12 @@
|
|
|
21674
21748
|
"content": {
|
|
21675
21749
|
"application/json": {
|
|
21676
21750
|
"schema": {
|
|
21677
|
-
"
|
|
21678
|
-
|
|
21679
|
-
|
|
21751
|
+
"$ref": "#/components/schemas/empty-object"
|
|
21752
|
+
},
|
|
21753
|
+
"examples": {
|
|
21754
|
+
"default": {
|
|
21755
|
+
"value": null
|
|
21756
|
+
}
|
|
21680
21757
|
}
|
|
21681
21758
|
}
|
|
21682
21759
|
}
|
|
@@ -21981,6 +22058,17 @@
|
|
|
21981
22058
|
"state",
|
|
21982
22059
|
"comment"
|
|
21983
22060
|
]
|
|
22061
|
+
},
|
|
22062
|
+
"examples": {
|
|
22063
|
+
"default": {
|
|
22064
|
+
"value": {
|
|
22065
|
+
"environment_ids": [
|
|
22066
|
+
161171787
|
|
22067
|
+
],
|
|
22068
|
+
"state": "approved",
|
|
22069
|
+
"comment": "Ship it!"
|
|
22070
|
+
}
|
|
22071
|
+
}
|
|
21984
22072
|
}
|
|
21985
22073
|
}
|
|
21986
22074
|
}
|
|
@@ -22051,6 +22139,11 @@
|
|
|
22051
22139
|
"description": "Whether to enable debug logging for the re-run."
|
|
22052
22140
|
}
|
|
22053
22141
|
}
|
|
22142
|
+
},
|
|
22143
|
+
"examples": {
|
|
22144
|
+
"default": {
|
|
22145
|
+
"value": null
|
|
22146
|
+
}
|
|
22054
22147
|
}
|
|
22055
22148
|
}
|
|
22056
22149
|
}
|
|
@@ -22061,9 +22154,12 @@
|
|
|
22061
22154
|
"content": {
|
|
22062
22155
|
"application/json": {
|
|
22063
22156
|
"schema": {
|
|
22064
|
-
"
|
|
22065
|
-
|
|
22066
|
-
|
|
22157
|
+
"$ref": "#/components/schemas/empty-object"
|
|
22158
|
+
},
|
|
22159
|
+
"examples": {
|
|
22160
|
+
"default": {
|
|
22161
|
+
"value": null
|
|
22162
|
+
}
|
|
22067
22163
|
}
|
|
22068
22164
|
}
|
|
22069
22165
|
}
|
|
@@ -22115,6 +22211,11 @@
|
|
|
22115
22211
|
"description": "Whether to enable debug logging for the re-run."
|
|
22116
22212
|
}
|
|
22117
22213
|
}
|
|
22214
|
+
},
|
|
22215
|
+
"examples": {
|
|
22216
|
+
"default": {
|
|
22217
|
+
"value": null
|
|
22218
|
+
}
|
|
22118
22219
|
}
|
|
22119
22220
|
}
|
|
22120
22221
|
}
|
|
@@ -22417,9 +22518,12 @@
|
|
|
22417
22518
|
"content": {
|
|
22418
22519
|
"application/json": {
|
|
22419
22520
|
"schema": {
|
|
22420
|
-
"
|
|
22421
|
-
|
|
22422
|
-
|
|
22521
|
+
"$ref": "#/components/schemas/empty-object"
|
|
22522
|
+
},
|
|
22523
|
+
"examples": {
|
|
22524
|
+
"default": {
|
|
22525
|
+
"value": null
|
|
22526
|
+
}
|
|
22423
22527
|
}
|
|
22424
22528
|
}
|
|
22425
22529
|
}
|
|
@@ -56337,6 +56441,40 @@
|
|
|
56337
56441
|
"type": "boolean",
|
|
56338
56442
|
"example": false
|
|
56339
56443
|
},
|
|
56444
|
+
"squash_merge_commit_title": {
|
|
56445
|
+
"type": "string",
|
|
56446
|
+
"enum": [
|
|
56447
|
+
"PR_TITLE",
|
|
56448
|
+
"COMMIT_OR_PR_TITLE"
|
|
56449
|
+
],
|
|
56450
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
56451
|
+
},
|
|
56452
|
+
"squash_merge_commit_message": {
|
|
56453
|
+
"type": "string",
|
|
56454
|
+
"enum": [
|
|
56455
|
+
"PR_BODY",
|
|
56456
|
+
"COMMIT_MESSAGES",
|
|
56457
|
+
"BLANK"
|
|
56458
|
+
],
|
|
56459
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
56460
|
+
},
|
|
56461
|
+
"merge_commit_title": {
|
|
56462
|
+
"type": "string",
|
|
56463
|
+
"enum": [
|
|
56464
|
+
"PR_TITLE",
|
|
56465
|
+
"MERGE_MESSAGE"
|
|
56466
|
+
],
|
|
56467
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
56468
|
+
},
|
|
56469
|
+
"merge_commit_message": {
|
|
56470
|
+
"type": "string",
|
|
56471
|
+
"enum": [
|
|
56472
|
+
"PR_BODY",
|
|
56473
|
+
"PR_TITLE",
|
|
56474
|
+
"BLANK"
|
|
56475
|
+
],
|
|
56476
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
56477
|
+
},
|
|
56340
56478
|
"has_downloads": {
|
|
56341
56479
|
"description": "Whether downloads are enabled.",
|
|
56342
56480
|
"default": true,
|
|
@@ -60914,6 +61052,40 @@
|
|
|
60914
61052
|
"use_squash_pr_title_as_default": {
|
|
60915
61053
|
"type": "boolean"
|
|
60916
61054
|
},
|
|
61055
|
+
"squash_merge_commit_title": {
|
|
61056
|
+
"type": "string",
|
|
61057
|
+
"enum": [
|
|
61058
|
+
"PR_TITLE",
|
|
61059
|
+
"COMMIT_OR_PR_TITLE"
|
|
61060
|
+
],
|
|
61061
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
61062
|
+
},
|
|
61063
|
+
"squash_merge_commit_message": {
|
|
61064
|
+
"type": "string",
|
|
61065
|
+
"enum": [
|
|
61066
|
+
"PR_BODY",
|
|
61067
|
+
"COMMIT_MESSAGES",
|
|
61068
|
+
"BLANK"
|
|
61069
|
+
],
|
|
61070
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
61071
|
+
},
|
|
61072
|
+
"merge_commit_title": {
|
|
61073
|
+
"type": "string",
|
|
61074
|
+
"enum": [
|
|
61075
|
+
"PR_TITLE",
|
|
61076
|
+
"MERGE_MESSAGE"
|
|
61077
|
+
],
|
|
61078
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
61079
|
+
},
|
|
61080
|
+
"merge_commit_message": {
|
|
61081
|
+
"type": "string",
|
|
61082
|
+
"enum": [
|
|
61083
|
+
"PR_BODY",
|
|
61084
|
+
"PR_TITLE",
|
|
61085
|
+
"BLANK"
|
|
61086
|
+
],
|
|
61087
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
61088
|
+
},
|
|
60917
61089
|
"allow_merge_commit": {
|
|
60918
61090
|
"type": "boolean"
|
|
60919
61091
|
},
|
|
@@ -60957,6 +61129,40 @@
|
|
|
60957
61129
|
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
60958
61130
|
"default": false
|
|
60959
61131
|
},
|
|
61132
|
+
"squash_merge_commit_title": {
|
|
61133
|
+
"type": "string",
|
|
61134
|
+
"enum": [
|
|
61135
|
+
"PR_TITLE",
|
|
61136
|
+
"COMMIT_OR_PR_TITLE"
|
|
61137
|
+
],
|
|
61138
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
61139
|
+
},
|
|
61140
|
+
"squash_merge_commit_message": {
|
|
61141
|
+
"type": "string",
|
|
61142
|
+
"enum": [
|
|
61143
|
+
"PR_BODY",
|
|
61144
|
+
"COMMIT_MESSAGES",
|
|
61145
|
+
"BLANK"
|
|
61146
|
+
],
|
|
61147
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
61148
|
+
},
|
|
61149
|
+
"merge_commit_title": {
|
|
61150
|
+
"type": "string",
|
|
61151
|
+
"enum": [
|
|
61152
|
+
"PR_TITLE",
|
|
61153
|
+
"MERGE_MESSAGE"
|
|
61154
|
+
],
|
|
61155
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
61156
|
+
},
|
|
61157
|
+
"merge_commit_message": {
|
|
61158
|
+
"type": "string",
|
|
61159
|
+
"enum": [
|
|
61160
|
+
"PR_BODY",
|
|
61161
|
+
"PR_TITLE",
|
|
61162
|
+
"BLANK"
|
|
61163
|
+
],
|
|
61164
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
61165
|
+
},
|
|
60960
61166
|
"allow_merge_commit": {
|
|
60961
61167
|
"description": "Whether to allow merge commits for pull requests.",
|
|
60962
61168
|
"default": true,
|
|
@@ -65785,6 +65991,40 @@
|
|
|
65785
65991
|
"use_squash_pr_title_as_default": {
|
|
65786
65992
|
"type": "boolean"
|
|
65787
65993
|
},
|
|
65994
|
+
"squash_merge_commit_title": {
|
|
65995
|
+
"type": "string",
|
|
65996
|
+
"enum": [
|
|
65997
|
+
"PR_TITLE",
|
|
65998
|
+
"COMMIT_OR_PR_TITLE"
|
|
65999
|
+
],
|
|
66000
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
66001
|
+
},
|
|
66002
|
+
"squash_merge_commit_message": {
|
|
66003
|
+
"type": "string",
|
|
66004
|
+
"enum": [
|
|
66005
|
+
"PR_BODY",
|
|
66006
|
+
"COMMIT_MESSAGES",
|
|
66007
|
+
"BLANK"
|
|
66008
|
+
],
|
|
66009
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
66010
|
+
},
|
|
66011
|
+
"merge_commit_title": {
|
|
66012
|
+
"type": "string",
|
|
66013
|
+
"enum": [
|
|
66014
|
+
"PR_TITLE",
|
|
66015
|
+
"MERGE_MESSAGE"
|
|
66016
|
+
],
|
|
66017
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
66018
|
+
},
|
|
66019
|
+
"merge_commit_message": {
|
|
66020
|
+
"type": "string",
|
|
66021
|
+
"enum": [
|
|
66022
|
+
"PR_BODY",
|
|
66023
|
+
"PR_TITLE",
|
|
66024
|
+
"BLANK"
|
|
66025
|
+
],
|
|
66026
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
66027
|
+
},
|
|
65788
66028
|
"allow_merge_commit": {
|
|
65789
66029
|
"type": "boolean"
|
|
65790
66030
|
},
|
|
@@ -65828,6 +66068,40 @@
|
|
|
65828
66068
|
"description": "Whether a squash merge commit can use the pull request title as default.",
|
|
65829
66069
|
"default": false
|
|
65830
66070
|
},
|
|
66071
|
+
"squash_merge_commit_title": {
|
|
66072
|
+
"type": "string",
|
|
66073
|
+
"enum": [
|
|
66074
|
+
"PR_TITLE",
|
|
66075
|
+
"COMMIT_OR_PR_TITLE"
|
|
66076
|
+
],
|
|
66077
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
66078
|
+
},
|
|
66079
|
+
"squash_merge_commit_message": {
|
|
66080
|
+
"type": "string",
|
|
66081
|
+
"enum": [
|
|
66082
|
+
"PR_BODY",
|
|
66083
|
+
"COMMIT_MESSAGES",
|
|
66084
|
+
"BLANK"
|
|
66085
|
+
],
|
|
66086
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
66087
|
+
},
|
|
66088
|
+
"merge_commit_title": {
|
|
66089
|
+
"type": "string",
|
|
66090
|
+
"enum": [
|
|
66091
|
+
"PR_TITLE",
|
|
66092
|
+
"MERGE_MESSAGE"
|
|
66093
|
+
],
|
|
66094
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
66095
|
+
},
|
|
66096
|
+
"merge_commit_message": {
|
|
66097
|
+
"type": "string",
|
|
66098
|
+
"enum": [
|
|
66099
|
+
"PR_BODY",
|
|
66100
|
+
"PR_TITLE",
|
|
66101
|
+
"BLANK"
|
|
66102
|
+
],
|
|
66103
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
66104
|
+
},
|
|
65831
66105
|
"allow_merge_commit": {
|
|
65832
66106
|
"description": "Whether to allow merge commits for pull requests.",
|
|
65833
66107
|
"default": true,
|
|
@@ -70593,6 +70867,44 @@
|
|
|
70593
70867
|
"type": "boolean",
|
|
70594
70868
|
"example": false
|
|
70595
70869
|
},
|
|
70870
|
+
"squash_merge_commit_title": {
|
|
70871
|
+
"type": "string",
|
|
70872
|
+
"example": "PR_TITLE",
|
|
70873
|
+
"enum": [
|
|
70874
|
+
"PR_TITLE",
|
|
70875
|
+
"COMMIT_OR_PR_TITLE"
|
|
70876
|
+
],
|
|
70877
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
70878
|
+
},
|
|
70879
|
+
"squash_merge_commit_message": {
|
|
70880
|
+
"type": "string",
|
|
70881
|
+
"example": "PR_BODY",
|
|
70882
|
+
"enum": [
|
|
70883
|
+
"PR_BODY",
|
|
70884
|
+
"COMMIT_MESSAGES",
|
|
70885
|
+
"BLANK"
|
|
70886
|
+
],
|
|
70887
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
70888
|
+
},
|
|
70889
|
+
"merge_commit_title": {
|
|
70890
|
+
"type": "string",
|
|
70891
|
+
"example": "PR_TITLE",
|
|
70892
|
+
"enum": [
|
|
70893
|
+
"PR_TITLE",
|
|
70894
|
+
"MERGE_MESSAGE"
|
|
70895
|
+
],
|
|
70896
|
+
"description": "The default value for a merge commit title.\n\n - `PR_TITLE` - default to the pull request's title.\n - `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
70897
|
+
},
|
|
70898
|
+
"merge_commit_message": {
|
|
70899
|
+
"type": "string",
|
|
70900
|
+
"example": "PR_BODY",
|
|
70901
|
+
"enum": [
|
|
70902
|
+
"PR_BODY",
|
|
70903
|
+
"PR_TITLE",
|
|
70904
|
+
"BLANK"
|
|
70905
|
+
],
|
|
70906
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
70907
|
+
},
|
|
70596
70908
|
"allow_forking": {
|
|
70597
70909
|
"type": "boolean",
|
|
70598
70910
|
"example": true
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.4.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -35178,6 +35178,40 @@
|
|
|
35178
35178
|
"type": "boolean",
|
|
35179
35179
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
35180
35180
|
"default": false
|
|
35181
|
+
},
|
|
35182
|
+
"squash_merge_commit_title": {
|
|
35183
|
+
"type": "string",
|
|
35184
|
+
"enum": [
|
|
35185
|
+
"PR_TITLE",
|
|
35186
|
+
"COMMIT_OR_PR_TITLE"
|
|
35187
|
+
],
|
|
35188
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
35189
|
+
},
|
|
35190
|
+
"squash_merge_commit_message": {
|
|
35191
|
+
"type": "string",
|
|
35192
|
+
"enum": [
|
|
35193
|
+
"PR_BODY",
|
|
35194
|
+
"COMMIT_MESSAGES",
|
|
35195
|
+
"BLANK"
|
|
35196
|
+
],
|
|
35197
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
35198
|
+
},
|
|
35199
|
+
"merge_commit_title": {
|
|
35200
|
+
"type": "string",
|
|
35201
|
+
"enum": [
|
|
35202
|
+
"PR_TITLE",
|
|
35203
|
+
"MERGE_MESSAGE"
|
|
35204
|
+
],
|
|
35205
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
35206
|
+
},
|
|
35207
|
+
"merge_commit_message": {
|
|
35208
|
+
"type": "string",
|
|
35209
|
+
"enum": [
|
|
35210
|
+
"PR_BODY",
|
|
35211
|
+
"PR_TITLE",
|
|
35212
|
+
"BLANK"
|
|
35213
|
+
],
|
|
35214
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
35181
35215
|
}
|
|
35182
35216
|
},
|
|
35183
35217
|
"required": [
|
|
@@ -45939,6 +45973,40 @@
|
|
|
45939
45973
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
45940
45974
|
"default": false
|
|
45941
45975
|
},
|
|
45976
|
+
"squash_merge_commit_title": {
|
|
45977
|
+
"type": "string",
|
|
45978
|
+
"enum": [
|
|
45979
|
+
"PR_TITLE",
|
|
45980
|
+
"COMMIT_OR_PR_TITLE"
|
|
45981
|
+
],
|
|
45982
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
45983
|
+
},
|
|
45984
|
+
"squash_merge_commit_message": {
|
|
45985
|
+
"type": "string",
|
|
45986
|
+
"enum": [
|
|
45987
|
+
"PR_BODY",
|
|
45988
|
+
"COMMIT_MESSAGES",
|
|
45989
|
+
"BLANK"
|
|
45990
|
+
],
|
|
45991
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
45992
|
+
},
|
|
45993
|
+
"merge_commit_title": {
|
|
45994
|
+
"type": "string",
|
|
45995
|
+
"enum": [
|
|
45996
|
+
"PR_TITLE",
|
|
45997
|
+
"MERGE_MESSAGE"
|
|
45998
|
+
],
|
|
45999
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
46000
|
+
},
|
|
46001
|
+
"merge_commit_message": {
|
|
46002
|
+
"type": "string",
|
|
46003
|
+
"enum": [
|
|
46004
|
+
"PR_BODY",
|
|
46005
|
+
"PR_TITLE",
|
|
46006
|
+
"BLANK"
|
|
46007
|
+
],
|
|
46008
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
46009
|
+
},
|
|
45942
46010
|
"archived": {
|
|
45943
46011
|
"type": "boolean",
|
|
45944
46012
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -159816,6 +159884,40 @@
|
|
|
159816
159884
|
"type": "boolean",
|
|
159817
159885
|
"example": false
|
|
159818
159886
|
},
|
|
159887
|
+
"squash_merge_commit_title": {
|
|
159888
|
+
"type": "string",
|
|
159889
|
+
"enum": [
|
|
159890
|
+
"PR_TITLE",
|
|
159891
|
+
"COMMIT_OR_PR_TITLE"
|
|
159892
|
+
],
|
|
159893
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
159894
|
+
},
|
|
159895
|
+
"squash_merge_commit_message": {
|
|
159896
|
+
"type": "string",
|
|
159897
|
+
"enum": [
|
|
159898
|
+
"PR_BODY",
|
|
159899
|
+
"COMMIT_MESSAGES",
|
|
159900
|
+
"BLANK"
|
|
159901
|
+
],
|
|
159902
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
159903
|
+
},
|
|
159904
|
+
"merge_commit_title": {
|
|
159905
|
+
"type": "string",
|
|
159906
|
+
"enum": [
|
|
159907
|
+
"PR_TITLE",
|
|
159908
|
+
"MERGE_MESSAGE"
|
|
159909
|
+
],
|
|
159910
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
159911
|
+
},
|
|
159912
|
+
"merge_commit_message": {
|
|
159913
|
+
"type": "string",
|
|
159914
|
+
"enum": [
|
|
159915
|
+
"PR_BODY",
|
|
159916
|
+
"PR_TITLE",
|
|
159917
|
+
"BLANK"
|
|
159918
|
+
],
|
|
159919
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
159920
|
+
},
|
|
159819
159921
|
"has_downloads": {
|
|
159820
159922
|
"description": "Whether downloads are enabled.",
|
|
159821
159923
|
"default": true,
|