Extend Approve Workflow step functionality to allow for user input


#1

I use 2fa on NPM, and I want to publish to NPM from my Circle CI build. This is possible in auth-only mode, but I would also like to be able to use ‘auth-and-writes’ mode. This requires me to enter a authentication code when publishing.

As CircleCI already offers an ‘approve’ workflow step to wait for user approval, I thought about this FR to extend this functionality to also allow user input at that time. This way, I can add a step to my build to ask the user for the authentication code before continuing.


#2