add workflow tool: automate simple text changes
I observe that
Let's put this in a shell script so that it is transparent
I think it's all possible, except i am not sure about step 6 being done remotely as i have never done it
I think it could be called edit-text.sh
or something, and should do the following:
- Usage is
edit-text im-gonna-do-something
where input is new branch name - fetch/pull main
- Create branch and push it to origin
- user makes text edits as desired
- when ready, merge request is initiated with
-merge
option:edit-text -merge im-gonna-do-something
- push to origin
- merge request is initiated and merged as long as pipeline succeeds (squash commits, delete branch when successful)
- if MR fails, then it's handled online