Is that correct? Just making sure I’ve correctly interpreted the documentation.
Yes, it is correct. The pre and post option are not available to the composite run steps actions.
Generally, you can think of the composite action as just a combination of some run steps. When you run the a composite action in the workflow, it is functionally equivalent to directly executing the combined run steps in the workflow.
If you want to run some pre or post scripts for the composite action, you can directly combine the run as a step in the action:
Set the first step in the composite action to run some pre scripts to set up some preparations for the subsequent run steps in the composite action.
Set the last step in the composite action to run some post scripts to cleanup some data generated by the previous run steps in the composite action.