fixes #4176
Merge pull request #4195 from dotCMS/issue-4176-error-on-using-push-publishing-workflow-action-on-Document-type

fixes #4176