You have that one backward.
The old standard was "If it rotates oil it, if it slides, grease it".
I personally don't hold to that and will use grease on any application.
Not the way I was instructed way back when I started shooting double guns - it was grease on the hinge pins and knuckles or trunions and oil for the ejectors; been doing that way for 35 years with no issues
Now on semi pistols, I use a little grease on the rails