Skip to content
This repository was archived by the owner on Dec 10, 2024. It is now read-only.

Commit 2215469

Browse files
committed
add ci_id_token_sub_claim_components to editProjectOptions
1 parent 01aa9b5 commit 2215469

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

projects.go

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ type Project struct {
143143
CIOptInJWT bool `json:"ci_opt_in_jwt"`
144144
CIAllowForkPipelinesToRunInParentProject bool `json:"ci_allow_fork_pipelines_to_run_in_parent_project"`
145145
CIRestrictPipelineCancellationRole AccessControlValue `json:"ci_restrict_pipeline_cancellation_role"`
146+
CIIdTokenSubClaimComponents []string `json:"ci_id_token_sub_claim_components"`
146147
PublicJobs bool `json:"public_jobs"`
147148
BuildTimeout int `json:"build_timeout"`
148149
AutoCancelPendingPipelines string `json:"auto_cancel_pending_pipelines"`
@@ -855,6 +856,7 @@ type EditProjectOptions struct {
855856
CIForwardDeploymentRollbackAllowed *bool `url:"ci_forward_deployment_rollback_allowed,omitempty" json:"ci_forward_deployment_rollback_allowed,omitempty"`
856857
CISeperateCache *bool `url:"ci_separated_caches,omitempty" json:"ci_separated_caches,omitempty"`
857858
CIRestrictPipelineCancellationRole *AccessControlValue `url:"ci_restrict_pipeline_cancellation_role,omitempty" json:"ci_restrict_pipeline_cancellation_role,omitempty"`
859+
CIIdTokenSubClaimComponents []string `json:"ci_id_token_sub_claim_components"`
858860
CIPipelineVariablesMinimumOverrideRole *CIPipelineVariablesMinimumOverrideRoleValue `url:"ci_pipeline_variables_minimum_override_role,omitempty" json:"ci_pipeline_variables_minimum_override_role,omitempty"`
859861
ContainerExpirationPolicyAttributes *ContainerExpirationPolicyAttributes `url:"container_expiration_policy_attributes,omitempty" json:"container_expiration_policy_attributes,omitempty"`
860862
ContainerRegistryAccessLevel *AccessControlValue `url:"container_registry_access_level,omitempty" json:"container_registry_access_level,omitempty"`

0 commit comments

Comments
 (0)