change string format in yaml
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user