Unary · Workflows
Updates a workflow’s configuration using full replacement semantics.
Update Behavior:
- All provided fields completely replace existing values
- Optional fields that are not provided remain unchanged
- Complex fields (triggers, action) are replaced entirely, not merged
- To remove optional fields, explicitly set them to empty/default values
- Modify workflow settings
- Update triggers and actions
- Change execution limits
- Update workflow steps
Examples
-
Update workflow name:
Changes the workflow’s display name.
-
Replace all triggers:
Completely replaces the workflow’s trigger configuration.
-
Update execution limits:
Completely replaces the workflow’s action configuration.
Endpoint
https://app.ona.com with that domain.
Request example
Request
gitpod.v1.UpdateWorkflowRequest
UpdateWorkflowRequest updates a workflow’s configuration.
Response
gitpod.v1.UpdateWorkflowResponse
Related types
CodexSettings
CodexSettings
CodexSettings contains settings consumed only by the Codex app agent.
gitpod.v1.CodexSettingsSubject
Subject
gitpod.v1.SubjectWorkflow
Workflow
Workflow represents a workflow configuration.
gitpod.v1.WorkflowMetadata
Metadata
WorkflowMetadata contains workflow metadata.
gitpod.v1.Workflow.MetadataSpec
Spec
gitpod.v1.Workflow.SpecWorkflowAction
WorkflowAction
WorkflowAction defines the actions to be executed in a workflow.
gitpod.v1.WorkflowActionLimits
Limits
Limits defines execution limits for workflow actions.
gitpod.v1.WorkflowAction.LimitsWorkflowStep
WorkflowStep
WorkflowStep defines a single step in a workflow action.
gitpod.v1.WorkflowStepWorkflowTrigger
WorkflowTrigger
WorkflowTrigger defines when a workflow should be executed.Each trigger type defines a specific condition that will cause the workflow to execute:
- Manual: Triggered explicitly by user action via StartWorkflow RPC
- Time: Triggered automatically based on cron schedule
- PullRequest: Triggered automatically when specified PR events occur
- Each trigger instance can create multiple workflow executions
- Multiple triggers of the same workflow can fire simultaneously
- Each trigger execution is independent and tracked separately
- Triggers are evaluated in the context specified by WorkflowTriggerContext
gitpod.v1.WorkflowTriggerManual
Manual
Manual trigger - executed when StartWorkflow RPC is called.
No additional configuration needed.
gitpod.v1.WorkflowTrigger.ManualThis message has no fields.PullRequest
PullRequest
Pull request trigger - executed when specified PR events occur.
Only triggers for PRs in repositories matching the trigger context.
gitpod.v1.WorkflowTrigger.PullRequestTime
Time
Time-based trigger - executed automatically based on cron schedule.
Uses standard cron expression format (minute hour day month weekday).
gitpod.v1.WorkflowTrigger.TimeWorkflowTriggerContext
WorkflowTriggerContext
WorkflowTriggerContext defines the context in which a workflow should run.Context determines where and how the workflow executes:
- Projects: Execute in specific project environments
- Repositories: Execute in environments created from repository URLs
- Agent: Execute in agent-managed environments with custom prompts
- FromTrigger: Use context derived from the trigger event (PR-specific)
- Manual: Can use any context type
- Time: Typically uses Projects or Repositories context
- PullRequest: Can use any context, FromTrigger uses PR repository context
- Incident: Typically uses Projects or Repositories context (no inherent repo context)
gitpod.v1.WorkflowTriggerContextCodexOpenAIModel
CodexOpenAIModel
CodexOpenAIModel is the static allowlist of concrete OpenAI models that the
Codex app runtime can select through Ona’s Codex picker.
CodexReasoningEffort
CodexReasoningEffort
CodexReasoningEffort is the static allowlist of reasoning efforts supported
by the Codex app runtime.
CodexServiceTier
CodexServiceTier
CodexServiceTier is the static allowlist of service tiers supported by the
Codex app runtime.
Principal
Principal
PullRequestEvent
PullRequestEvent
WorkflowPREvent defines pull request events that can trigger workflows.