Address technical debt around build scripts
A few items of technical debt related to how API Security is built.
1. Duplicate logic should be refactored
if [[ $WC_NEW -ne $WC_ORIG && \
("$CI_COMMIT_BRANCH" != "$CI_DEFAULT_BRANCH" && \
"${CI_COMMIT_BRANCH//-[0987654321].[0987654321]}" != "prod") ]] ; then
There are at least three instances of this condition ("is default branch or 'prod' branch") that I know of. We may want to consider extracting it ("is_deploy_branch"?) in common.sh.
2. Use of old nobody email
Change any instance of nobody@peach.tech to something else.
Example: git config --global user.email "nobody@peach.tech"