Adding @Pawan answer,
please apply in hook.
fixtures = [{
"doctype": "Workflow"
},
{
"doctype": "Workflow State"
}
]
After then export for an apply command like:
bench export-fixtures
//OR
bench --site yourSite export-fixtures
Thank You!