After doing some testing with the Post Action to Run a script, specifically to run git init, git add *, and git commit -m "Initial Commit", everything succeeds, but the user is prompted Do you want to run this action (Y|N)? for each command which quickly can become a bad user experience, particularly if you have a lot of post actions running.
At minimum if a particular executable is called more than once, the user should not be asked more than once. Ideally there should be a way to opt out of this. In my particular case I already have a parameter where someone could toggle --git-init true/false so it's already something that the user would have opted to do.
After doing some testing with the Post Action to Run a script, specifically to run
git init,git add *, andgit commit -m "Initial Commit", everything succeeds, but the user is promptedDo you want to run this action (Y|N)?for each command which quickly can become a bad user experience, particularly if you have a lot of post actions running.At minimum if a particular executable is called more than once, the user should not be asked more than once. Ideally there should be a way to opt out of this. In my particular case I already have a parameter where someone could toggle
--git-init true/falseso it's already something that the user would have opted to do.