Skip to content

Commit c2d2e0f

Browse files
Update OpenAPI 3.1 Descriptions
1 parent 480f345 commit c2d2e0f

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": {

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5690,13 +5690,16 @@ paths:
56905690
"$ref": "#/components/schemas/enabled-repositories"
56915691
allowed_actions:
56925692
"$ref": "#/components/schemas/allowed-actions"
5693+
sha_pinning_required:
5694+
"$ref": "#/components/schemas/sha-pinning-required"
56935695
required:
56945696
- enabled_repositories
56955697
examples:
56965698
default:
56975699
value:
56985700
enabled_repositories: all
56995701
allowed_actions: selected
5702+
sha_pinning_required: true
57005703
x-github:
57015704
enabledForGitHubApps: true
57025705
githubCloudOnly: false
@@ -21661,13 +21664,16 @@ paths:
2166121664
"$ref": "#/components/schemas/actions-enabled"
2166221665
allowed_actions:
2166321666
"$ref": "#/components/schemas/allowed-actions"
21667+
sha_pinning_required:
21668+
"$ref": "#/components/schemas/sha-pinning-required"
2166421669
required:
2166521670
- enabled
2166621671
examples:
2166721672
default:
2166821673
value:
2166921674
enabled: true
2167021675
allowed_actions: selected
21676+
sha_pinning_required: true
2167121677
x-github:
2167221678
enabledForGitHubApps: true
2167321679
githubCloudOnly: false
@@ -78477,6 +78483,9 @@ components:
7847778483
type: string
7847878484
description: The API URL to use to get or set the actions and reusable workflows
7847978485
that are allowed to run, when `allowed_actions` is set to `selected`.
78486+
sha-pinning-required:
78487+
type: boolean
78488+
description: Whether actions must be pinned to a full-length commit SHA.
7848078489
actions-organization-permissions:
7848178490
type: object
7848278491
properties:
@@ -78491,6 +78500,8 @@ components:
7849178500
"$ref": "#/components/schemas/allowed-actions"
7849278501
selected_actions_url:
7849378502
"$ref": "#/components/schemas/selected-actions-url"
78503+
sha_pinning_required:
78504+
"$ref": "#/components/schemas/sha-pinning-required"
7849478505
required:
7849578506
- enabled_repositories
7849678507
actions-artifact-and-log-retention-response:
@@ -86150,6 +86161,8 @@ components:
8615086161
"$ref": "#/components/schemas/allowed-actions"
8615186162
selected_actions_url:
8615286163
"$ref": "#/components/schemas/selected-actions-url"
86164+
sha_pinning_required:
86165+
"$ref": "#/components/schemas/sha-pinning-required"
8615386166
required:
8615486167
- enabled
8615586168
actions-workflow-access-to-repository:
@@ -211457,6 +211470,7 @@ components:
211457211470
enabled_repositories: all
211458211471
allowed_actions: selected
211459211472
selected_actions_url: https://api.github.com/organizations/42/actions/permissions/selected-actions
211473+
sha_pinning_required: true
211460211474
actions-fork-pr-contributor-approval:
211461211475
value:
211462211476
approval_policy: first_time_contributors
@@ -217616,6 +217630,7 @@ components:
217616217630
enabled: true
217617217631
allowed_actions: selected
217618217632
selected_actions_url: https://api.github.com/repositories/42/actions/permissions/selected-actions
217633+
sha_pinning_required: true
217619217634
actions-workflow-access-to-repository:
217620217635
value:
217621217636
access_level: organization

0 commit comments

Comments
 (0)