How to use onlyGovernance modifier?

So, there is no way to ensure that a function call is made after a successful governance voting. How to restrict function calls to only governance process