Photoshop lets you record tools such as the brush tool in your action. To enable this feature, choose Allow Tool Recording from the Actions panel menu.
A couple of items to keep in mind:
- When recording a tool, choose your brush as part of the action or Photoshop uses the currently selected brush.
- If you are recording the action to play back at a different size, set Photoshop's measurement units to percentage and don’t define the brush size as part of a brush preset.