What feature do you need?
See https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#onevent_nametypes - all or almost all supports types, but in the library right now, only some have this explicit field.
Is there a workaround for not having this feature? If yes, please describe it.
workflow(on = listOf(SomeTrigger(_customArguments = mapOf("types" to listOf("published")))))