diff --git a/scripts/automate-checklist.sh b/scripts/automate-checklist.sh index 4c46fc3..95710ee 100644 --- a/scripts/automate-checklist.sh +++ b/scripts/automate-checklist.sh @@ -128,8 +128,8 @@ function update-arcadia-in-taskfile() { function update-workflow-names() { local repo=$1 local owner=$2 - local from=./.github/workflows - local file_pattern=*.y*ml + local from=.github/workflows + local file_pattern=*.yml local target="name: Arcadia" local tc_repo="$(echo ${repo:0:1} | tr '[:lower:]' '[:upper:]')${repo:1}" local replacement="name: $tc_repo" @@ -152,7 +152,6 @@ function update-readme() { local owner=$2 local from=./ local file_pattern=README.md - local target="arcadia: " local replacement="${repo}: " @@ -168,6 +167,14 @@ function update-readme() { return 1 fi + target="Arcadia Continuous Integration" + tc_repo="$(echo ${repo:0:1} | tr '[:lower:]' '[:upper:]')${repo:1}" + replacement="$tc_repo Continuous Integration" + update-all-generic $repo $owner $from $file_pattern "$target" "$replacement" + if [ $? -ne 0 ]; then + return 1 + fi + return 0 }