Skip to content
代码片段 群组 项目
未验证 提交 4dbdcdfc 编辑于 作者: Pedro Pombeiro's avatar Pedro Pombeiro 提交者: GitLab
浏览文件

Merge branch '239356-LineEndStringConcatenationIndentation-7' into 'master'

Lint issue fix in Layout/LineEndStringConcatenationIndentation 7

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/164698



Merged-by: default avatarPedro Pombeiro <noreply@pedro.pombei.ro>
Approved-by: default avatarSashi Kumar Kumaresan <skumar@gitlab.com>
Approved-by: default avatarPedro Pombeiro <noreply@pedro.pombei.ro>
Co-authored-by: default avatarArchish <archishthakkar@gmail.com>
No related branches found
No related tags found
无相关合并请求
......@@ -20,12 +20,6 @@ Layout/LineEndStringConcatenationIndentation:
- 'app/graphql/resolvers/concerns/project_search_arguments.rb'
- 'app/graphql/resolvers/design_management/designs_resolver.rb'
- 'app/graphql/resolvers/groups_resolver.rb'
- 'app/graphql/types/ci/detailed_status_type.rb'
- 'app/graphql/types/ci/job_token_scope/direction_enum.rb'
- 'app/graphql/types/ci/job_token_scope_type.rb'
- 'app/graphql/types/ci/job_trace_type.rb'
- 'app/graphql/types/ci/job_type.rb'
- 'app/graphql/types/ci/runner_membership_filter_enum.rb'
- 'app/graphql/types/ci/runner_type.rb'
- 'app/graphql/types/commit_type.rb'
- 'app/graphql/types/container_registry/protection/rule_type.rb'
......
......@@ -28,7 +28,7 @@ class DetailedStatusType < BaseObject
description: 'Icon of the status.',
deprecated: {
reason: 'The `icon` attribute is deprecated. Use `name` to ' \
'identify the status to display instead',
'identify the status to display instead',
milestone: '16.4'
}
field :id, GraphQL::Types::String, null: false,
......
......@@ -14,7 +14,7 @@ class DirectionEnum < BaseEnum
value 'INBOUND',
value: :inbound,
description: 'Target projects in the inbound allowlist can access the scope project ' \
'through their job tokens.'
'through their job tokens.'
end
end
end
......
......@@ -27,30 +27,30 @@ class JobTokenScopeType < BaseObject
Types::ProjectType.connection_type,
null: false,
description: "Allowlist of projects that can access the current project " \
"by authenticating with a CI/CD job token.",
"by authenticating with a CI/CD job token.",
method: :inbound_projects
field :groups_allowlist,
Types::GroupType.connection_type,
null: false,
description: "Allowlist of groups that can access the current project " \
"by authenticating with a CI/CD job token.",
"by authenticating with a CI/CD job token.",
method: :groups
field :inbound_allowlist_count,
GraphQL::Types::Int,
null: false,
description: "Count of projects that can access the current project " \
"by authenticating with a CI/CD job token. " \
"The count does not include nested projects.",
"by authenticating with a CI/CD job token. " \
"The count does not include nested projects.",
method: :inbound_projects_count
field :groups_allowlist_count,
GraphQL::Types::Int,
null: false,
description: "Count of groups that can access the current project " \
"by authenticating with a CI/CD job token. " \
"The count does not include subgroups.",
"by authenticating with a CI/CD job token. " \
"The count does not include subgroups.",
method: :groups_count
end
end
......
......@@ -11,8 +11,8 @@ class JobTraceType < BaseObject
field :html_summary, GraphQL::Types::String, null: false,
alpha: { milestone: '15.11' },
description: 'HTML summary that contains the tail lines of the trace. ' \
"Returns at most #{MAX_SIZE_KB}KB of raw bytes from the trace. " \
'The returned string might start with an unexpected invalid UTF-8 code point due to truncation.' do
"Returns at most #{MAX_SIZE_KB}KB of raw bytes from the trace. " \
'The returned string might start with an unexpected invalid UTF-8 code point due to truncation.' do
argument :last_lines, Integer,
required: false, default_value: 10,
description: 'Number of tail lines to return, up to a maximum of 100 lines.'
......
......@@ -93,7 +93,7 @@ class JobType < BaseObject
field :previous_stage_jobs_or_needs, Types::Ci::JobNeedUnion.connection_type,
null: true,
description: 'Jobs that must complete before the job runs. Returns `BuildNeed`, ' \
'which is the needed jobs if the job uses the `needs` keyword, or the previous stage jobs otherwise.',
'which is the needed jobs if the job uses the `needs` keyword, or the previous stage jobs otherwise.',
deprecated: { reason: 'Replaced by previousStageJobs and needs fields', milestone: '16.4' }
field :ref_name, GraphQL::Types::String, null: true,
description: 'Ref name of the job.'
......
......@@ -18,7 +18,7 @@ class RunnerMembershipFilterEnum < BaseEnum
value 'ALL_AVAILABLE',
description:
"Include all runners. This list includes runners for all projects in the group " \
"and subgroups, as well as for the parent groups and instance.",
"and subgroups, as well as for the parent groups and instance.",
value: :all_available,
alpha: { milestone: '15.5' }
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册