Skip to content

Commit 7595529

Browse files
authored
Merge pull request #5237 from github/openapi-update-99b4107f2346621a355515f82c20496366e3b665e88f2cf50b90be0c5529bbcc
Update OpenAPI 3.0 Descriptions
2 parents 457b945 + 7131f14 commit 7595529

16 files changed

+19872
-19552
lines changed

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

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7854,6 +7854,9 @@
78547854
},
78557855
"allowed_actions": {
78567856
"$ref": "#/components/schemas/allowed-actions"
7857+
},
7858+
"sha_pinning_required": {
7859+
"$ref": "#/components/schemas/sha-pinning-required"
78577860
}
78587861
},
78597862
"required": [
@@ -7864,7 +7867,8 @@
78647867
"default": {
78657868
"value": {
78667869
"enabled_repositories": "all",
7867-
"allowed_actions": "selected"
7870+
"allowed_actions": "selected",
7871+
"sha_pinning_required": true
78687872
}
78697873
}
78707874
}
@@ -29677,6 +29681,9 @@
2967729681
},
2967829682
"allowed_actions": {
2967929683
"$ref": "#/components/schemas/allowed-actions"
29684+
},
29685+
"sha_pinning_required": {
29686+
"$ref": "#/components/schemas/sha-pinning-required"
2968029687
}
2968129688
},
2968229689
"required": [
@@ -29687,7 +29694,8 @@
2968729694
"default": {
2968829695
"value": {
2968929696
"enabled": true,
29690-
"allowed_actions": "selected"
29697+
"allowed_actions": "selected",
29698+
"sha_pinning_required": true
2969129699
}
2969229700
}
2969329701
}
@@ -106863,6 +106871,10 @@
106863106871
"type": "string",
106864106872
"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`."
106865106873
},
106874+
"sha-pinning-required": {
106875+
"type": "boolean",
106876+
"description": "Whether actions must be pinned to a full-length commit SHA."
106877+
},
106866106878
"actions-organization-permissions": {
106867106879
"type": "object",
106868106880
"properties": {
@@ -106878,6 +106890,9 @@
106878106890
},
106879106891
"selected_actions_url": {
106880106892
"$ref": "#/components/schemas/selected-actions-url"
106893+
},
106894+
"sha_pinning_required": {
106895+
"$ref": "#/components/schemas/sha-pinning-required"
106881106896
}
106882106897
},
106883106898
"required": [
@@ -116762,6 +116777,9 @@
116762116777
},
116763116778
"selected_actions_url": {
116764116779
"$ref": "#/components/schemas/selected-actions-url"
116780+
},
116781+
"sha_pinning_required": {
116782+
"$ref": "#/components/schemas/sha-pinning-required"
116765116783
}
116766116784
},
116767116785
"required": [
@@ -277677,7 +277695,8 @@
277677277695
"value": {
277678277696
"enabled_repositories": "all",
277679277697
"allowed_actions": "selected",
277680-
"selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions"
277698+
"selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions",
277699+
"sha_pinning_required": true
277681277700
}
277682277701
},
277683277702
"actions-fork-pr-contributor-approval": {
@@ -284918,7 +284937,8 @@
284918284937
"value": {
284919284938
"enabled": true,
284920284939
"allowed_actions": "selected",
284921-
"selected_actions_url": "https://api.github.com/repositories/42/actions/permissions/selected-actions"
284940+
"selected_actions_url": "https://api.github.com/repositories/42/actions/permissions/selected-actions",
284941+
"sha_pinning_required": true
284922284942
}
284923284943
},
284924284944
"actions-workflow-access-to-repository": {

0 commit comments

Comments
 (0)