refactor(*): replace `get type()` with `type =` in actions
#2035

arturovt wants to merge refactor/types into master

We do not currently have an analysis of these two commits