She made a doll that looked like her boyfriend and she stuck a pin in it.
The dressmaker attached the sleeve to the dress using pins.
The seamstress attached a ribbon to the dress using a pin.
The seamstress is using pins to mark the alterations, before sewing them.