Skip to content

feat(workflow): allow custom repos for OpenAPI freestyle task runs#4705

Open
Cynthia-0203 wants to merge 1 commit into
koderover:mainfrom
Cynthia-0203:feat/openapi-allow-custom-repo-in-workflow-task
Open

feat(workflow): allow custom repos for OpenAPI freestyle task runs#4705
Cynthia-0203 wants to merge 1 commit into
koderover:mainfrom
Cynthia-0203:feat/openapi-allow-custom-repo-in-workflow-task

Conversation

@Cynthia-0203
Copy link
Copy Markdown
Contributor

@Cynthia-0203 Cynthia-0203 commented May 21, 2026

What this PR does / Why we need it:

Allow OpenAPI-triggered freestyle workflow jobs to use the repository information provided in the request body.Previously, freestyle jobs could only update branch/PR/commit information for repositories already configured in the workflow. If users passed a different repository through OpenAPI, it would be filtered out.

What is changed and how it works?

For freestyle jobs, when repo_info is provided, the task now builds repository configs directly from the OpenAPI input, including code host, namespace, repository name, branch, PRs, commit, checkout path, submodules, and Perforce fields.

When repo_info is empty, the job still uses the repositories configured in the workflow.

Does this PR introduce a user-facing change?

  • API change
  • database schema change
  • upgrade assistant change
  • change in non-functional attributes such as efficiency or availability
  • fix of a previous issue

This change is Reviewable

Signed-off-by: Cynthia <chenchen@koderover.com>
@Cynthia-0203 Cynthia-0203 changed the title feat: allow custom repos for OpenAPI freestyle jobs feat(workflow): allow custom repos for OpenAPI freestyle task runs May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant