.nh .TH "GT-PROJECT-WORKFLOW-EDIT" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-project-workflow-edit - Edit a project workflow .SH SYNOPSIS \fBgt project workflow edit [flags]\fP .SH DESCRIPTION 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. .SS ARGUMENTS .EX 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. .EE .SS JSON FIELDS .EX actions, created_at, enabled, event, filters, id, updated_at .EE .SH OPTIONS \fB--add-label\fP=[] Add these label \fBnames\fR to the item .PP \fB--column\fP="" Move the item to this \fBcolumn\fR, by title or ID .PP \fB--dry-run\fP[=false] Show the write requests gt would send, without sending them .PP \fB--from-column\fP="" Run only for items moved from this \fBcolumn\fR, by title or ID (event item_column_changed) .PP \fB-h\fP, \fB--help\fP[=false] help for edit .PP \fB--issue-state\fP="" Close or reopen the item {close|reopen|none} .PP \fB--issue-type\fP="" Run only for issues or pull requests {issue|pull_request|any} .PP \fB-l\fP, \fB--label\fP=[] Run only for items with all of these label \fBnames\fR .PP \fB--remove-label\fP=[] Remove these label \fBnames\fR from the item .PP \fB--to-column\fP="" Run only for items moved to this \fBcolumn\fR, by title or ID (event item_column_changed) .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--account\fP[=false] Manage the projects of your account instead of a repository .PP \fB--by-name\fP[=false] Match a numeric project argument as a title rather than an ID .PP \fB--csv\fP[=""] Output CSV with the specified comma-separated \fBfields\fR, or all fields .PP \fB--cwd\fP="" Working \fBdirectory\fR for repository discovery .PP \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB-q\fP, \fB--jq\fP="" Filter JSON output using a jq \fBexpression\fR; implies --json .PP \fB--json\fP[=""] Output JSON with the specified comma-separated \fBfields\fR, or all fields .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--org\fP="" Manage the projects of an \fBorganization\fR instead of a repository .PP \fB--remote\fP="" Git \fBremote\fR used for repository discovery .PP \fB-R\fP, \fB--repo\fP="" Select a repository as \fBOWNER/REPO\fR or URL .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--template\fP="" Format JSON output using a Go \fBtemplate\fR; implies --json (see gt help formatting) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH EXAMPLE .EX $ 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 .EE .SH SEE ALSO \fBgt-project-workflow(1)\fP