I think it is a good idea to wear a dust mask.
Keeping dust out of the workshop is also important.
I use an air filtration system to keep small particles out, and a dust collector next to my scroll saw.
There is a good article on this you may be interested in here:
3 Tips To Reduce Your Exposure To Sawdust
Hope this helps
Ged