GT-PROJECT-WORKFLOW-EDIT(1) gitea-cli Manual GT-PROJECT-WORKFLOW-EDIT(1)

gt-project-workflow-edit - Edit a project workflow

gt project workflow edit <project> <workflow> [flags]

Change the filters or actions of a workflow. Only the settings whose flags are passed change; a list flag such as --label replaces the whole list, and an empty value clears it. The event cannot be changed. Use gt project workflow enable or disable to switch a workflow on or off.

A project can be supplied by its title or ID, as in gt project view; --by-name matches a number
as a title only. A workflow is supplied by its ID, which gt project workflow list shows.

actions, created_at, enabled, event, filters, id, updated_at

--add-label=[] Add these label names to the item

--column="" Move the item to this column, by title or ID

--dry-run[=false] Show the write requests gt would send, without sending them

--from-column="" Run only for items moved from this column, by title or ID (event item_column_changed)

-h, --help[=false] help for edit

--issue-state="" Close or reopen the item {close|reopen|none}

--issue-type="" Run only for issues or pull requests {issue|pull_request|any}

-l, --label=[] Run only for items with all of these label names

--remove-label=[] Remove these label names from the item

--to-column="" Run only for items moved to this column, by title or ID (event item_column_changed)

--account[=false] Manage the projects of your account instead of a repository

--by-name[=false] Match a numeric project argument as a title rather than an ID

--csv[=""] Output CSV with the specified comma-separated fields, or all fields

--cwd="" Working directory for repository discovery

--debug[=false] Log the method, URL, status, and duration of each HTTP request to stderr

--host="" Gitea instance URL, including any base path

--interactive[=false] Allow prompts with machine output

-q, --jq="" Filter JSON output using a jq expression; implies --json

--json[=""] Output JSON with the specified comma-separated fields, or all fields

--no-input[=false] Disable prompts and implicit editor/browser interactions

--org="" Manage the projects of an organization instead of a repository

--remote="" Git remote used for repository discovery

-R, --repo="" Select a repository as OWNER/REPO or URL

--sudo="" Perform API requests as this user (requires an administrator account)

--template="" Format JSON output using a Go template; implies --json (see gt help formatting)

--user="" Account name on the selected instance

$ gt project workflow edit Roadmap 7 --column Done
$ gt project workflow edit 3 7 --org acme --issue-type pull_request --label ""
$ gt project workflow edit Roadmap 7 --issue-state none

gt-project-workflow(1)

Nov 2026 gitea-cli