File tree Expand file tree Collapse file tree
actions/github/release/status Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,14 +176,13 @@ runs:
176176 if gh workflow run "$wf" --ref main --repo "$REPOSITORY"; then
177177 echo "::notice::Dispatched workflow '$wf' — publish will retry when it completes"
178178 else
179- echo "::warning::Could not dispatch workflow '$wf'" \
180- "(token may lack workflow:write, or no workflow_dispatch trigger)" \
181- "— manual retry required"
179+ MSG_WARN="Could not dispatch workflow '$wf'"
180+ MSG_WARN+=" (token may lack workflow:write, or no workflow_dispatch trigger)"
181+ MSG_WARN+=" — manual retry required"
182+ echo "::warning::${MSG_WARN}"
182183 fi
183184 done
184185
185- DETAIL="${PROBLEMS[*]}"
186- # Join with ', ' using parameter expansion
187186 DETAIL=$(printf '%s, ' "${PROBLEMS[@]}")
188187 DETAIL="${DETAIL%, }"
189188 MSG="Cannot publish non-dev release ${RELEASE_NAME}-v${VERSION}"
You can’t perform that action at this time.
0 commit comments