Skip to content

Commit 457b945

Browse files
authored
Merge pull request #5238 from github/openapi-update-6d20039bab0595721beed5bea6cc5574ef5a2275ac4a4a2ae8e259e6b3365e03
Update OpenAPI 3.1 Descriptions
2 parents 480f345 + c2d2e0f commit 457b945

16 files changed

+19538
-19218
lines changed

descriptions-next/api.github.com/api.github.com.2022-11-28.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7896,6 +7896,9 @@
78967896
},
78977897
"allowed_actions": {
78987898
"$ref": "#/components/schemas/allowed-actions"
7899+
},
7900+
"sha_pinning_required": {
7901+
"$ref": "#/components/schemas/sha-pinning-required"
78997902
}
79007903
},
79017904
"required": [
@@ -7906,7 +7909,8 @@
79067909
"default": {
79077910
"value": {
79087911
"enabled_repositories": "all",
7909-
"allowed_actions": "selected"
7912+
"allowed_actions": "selected",
7913+
"sha_pinning_required": true
79107914
}
79117915
}
79127916
}
@@ -29809,6 +29813,9 @@
2980929813
},
2981029814
"allowed_actions": {
2981129815
"$ref": "#/components/schemas/allowed-actions"
29816+
},
29817+
"sha_pinning_required": {
29818+
"$ref": "#/components/schemas/sha-pinning-required"
2981229819
}
2981329820
},
2981429821
"required": [
@@ -29819,7 +29826,8 @@
2981929826
"default": {
2982029827
"value": {
2982129828
"enabled": true,
29822-
"allowed_actions": "selected"
29829+
"allowed_actions": "selected",
29830+
"sha_pinning_required": true
2982329831
}
2982429832
}
2982529833
}
@@ -108280,6 +108288,10 @@
108280108288
"type": "string",
108281108289
"description": "The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`."
108282108290
},
108291+
"sha-pinning-required": {
108292+
"type": "boolean",
108293+
"description": "Whether actions must be pinned to a full-length commit SHA."
108294+
},
108283108295
"actions-organization-permissions": {
108284108296
"type": "object",
108285108297
"properties": {
@@ -108295,6 +108307,9 @@
108295108307
},
108296108308
"selected_actions_url": {
108297108309
"$ref": "#/components/schemas/selected-actions-url"
108310+
},
108311+
"sha_pinning_required": {
108312+
"$ref": "#/components/schemas/sha-pinning-required"
108298108313
}
108299108314
},
108300108315
"required": [
@@ -118544,6 +118559,9 @@
118544118559
},
118545118560
"selected_actions_url": {
118546118561
"$ref": "#/components/schemas/selected-actions-url"
118562+
},
118563+
"sha_pinning_required": {
118564+
"$ref": "#/components/schemas/sha-pinning-required"
118547118565
}
118548118566
},
118549118567
"required": [
@@ -286475,7 +286493,8 @@
286475286493
"value": {
286476286494
"enabled_repositories": "all",
286477286495
"allowed_actions": "selected",
286478-
"selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions"
286496+
"selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions",
286497+
"sha_pinning_required": true
286479286498
}
286480286499
},
286481286500
"actions-fork-pr-contributor-approval": {
@@ -293716,7 +293735,8 @@
293716293735
"value": {
293717293736
"enabled": true,
293718293737
"allowed_actions": "selected",
293719-
"selected_actions_url": "https://api.github.com/repositories/42/actions/permissions/selected-actions"
293738+
"selected_actions_url": "https://api.github.com/repositories/42/actions/permissions/selected-actions",
293739+
"sha_pinning_required": true
293720293740
}
293721293741
},
293722293742
"actions-workflow-access-to-repository": {

0 commit comments

Comments
 (0)