File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,9 @@ tools+=(valgrind)
144144
145145for tool in " ${tools[@]} " ; do
146146 git checkout -b " ${tool} "
147- sed -E " ${in_place[@]} " " s/required: true/required: false/g" action.yml
148- sed -E " ${in_place[@]} " " s/# default: #publish:tool/default: ${tool} /g" action.yml
147+ sed -E " ${in_place[@]} " action.yml \
148+ -e " s/required: true/required: false/g" \
149+ -e " s/# default: #publish:tool/default: ${tool} /g"
149150 git add action.yml
150151 git commit -m " ${tool} "
151152 retry git push origin -f refs/heads/" ${tool} "
@@ -193,9 +194,11 @@ cp -- ./manifests/* "${schema_workspace}"
193194 # Detect changes, then commit and push if changes exist
194195 if [[ " $( git status --porcelain=v1 | wc -l) " != " 0" ]]; then
195196 git commit -m ' Update manifest schema'
196- git push origin HEAD
197+ retry git push origin HEAD
197198 fi
198199)
199200
200201rm -rf -- " ${schema_workspace} "
201202git worktree prune
203+ # TODO: get branch in schema_workspace dir instead
204+ git branch -D " ${schema_branch} " " ${schema_workspace##*/ } "
You can’t perform that action at this time.
0 commit comments