change string format in yaml

This commit is contained in:
2026-04-26 16:22:58 +01:00
parent f826512a62
commit acbb23f0bb
+1 -1
View File
@@ -14,7 +14,7 @@ branch="?branch=$(git symbolic-ref --quiet --short HEAD 2>/dev/null || git rev-p
if [[ -f "${repo_root}/.gitea/workflows/${workflow_file}" ]]; then
mkdir -p "${output_dir}"
printf "badge=%s/actions/workflows/%s/badge.svg%s\n" "${origin_url}" "${workflow_file:-validate.yaml}" "${branch}" > $output_file
printf "badge: %s/actions/workflows/%s/badge.svg%s\n" "${origin_url}" "${workflow_file:-validate.yaml}" "${branch}" > $output_file
git add "${output_file}"
fi