[minor] write action to tempfile prior to signing it