Skip to content
代码片段 群组 项目
用户头像
Patrick Bajao 编辑于
Adds support for `fillInMergeRequestTemplate` input for `aiAction`
that has the following arguments:
- `resourceId` (required) - project where the MR will be created on
- `title` (required) - title of the MR to be created
- `sourceProjectId` (optional, defaults to `resource`)
- `sourceBranch` (required)
- `targetBranch` (required)
- `content` (required)

The `sourceBranch` and `targetBranch` will be used to compare
the changes between those branches so we can get the diff to send
to the AI provider. That's why it's required.

The `sourceProjectId` is needed for forks so we can compare the
changes made on the fork's source branch with the target branch.

Sections in the template content can add `<!-- AI Skip -->` to
the body to ensure that AI won't touch the section.

This uses Vertex AI as the AI provider.

This is behind the `fill_in_mr_template` feature flag.
f2fa1a30
历史
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。
名称 最后提交 最后更新
..
dora
graphql
openapi
packages
releases
rest
templates
access_requests.md
admin_sidekiq_queues.md
alert_management_alerts.md
api_resources.md
appearance.md
applications.md
audit_events.md
avatar.md
award_emoji.md
boards.md
branches.md
broadcast_messages.md
bulk_imports.md
cluster_agents.md
commits.md
container_registry.md
custom_attributes.md
dependencies.md
dependency_proxy.md
deploy_keys.md
deploy_tokens.md
deployments.md
discussions.md
draft_notes.md
environments.md
epic_issues.md
epic_links.md
epics.md
error_tracking.md
events.md
experiments.md
feature_flag_user_lists.md
feature_flags.md
features.md
freeze_periods.md
geo_nodes.md
geo_sites.md
group_access_tokens.md
group_activity_analytics.md
group_badges.md
group_boards.md
group_clusters.md
group_epic_boards.md
group_import_export.md
group_iterations.md
group_labels.md
group_level_variables.md
group_milestones.md
group_protected_branches.md
group_protected_environments.md
group_relations_export.md
group_releases.md
group_repository_storage_moves.md
group_wikis.md
groups.md
import.md
index.md
instance_clusters.md
instance_level_ci_variables.md
integrations.md
invitations.md
issue_links.md
issues.md
issues_statistics.md
iterations.md
job_artifacts.md
jobs.md
keys.md
labels.md
license.md
linked_epics.md
lint.md
managed_licenses.md
markdown.md
member_roles.md
members.md
merge_request_approvals.md
merge_request_context_commits.md
merge_requests.md
merge_trains.md
metadata.md
metrics_dashboard_annotations.md
metrics_user_starred_dashboards.md
milestones.md
namespaces.md
notes.md
notification_settings.md
oauth2.md
packages.md
pages.md
pages_domains.md
personal_access_tokens.md
pipeline_schedules.md