Skip to content

Commit 9501bb6

Browse files
authored
[chore][Ping code owners on new issues] Fix output formatting (#32724)
**Description:** <Describe what has changed.> <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> I noticed the output of a recent comment made by the `github-actions` bot had an extra `%s` in its output when pinging code owners on new issues. This is unnecessary. Example links: #32666 (comment) #32723 (comment)
1 parent 1c13d9e commit 9501bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/ping-codeowners-on-new-issue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if [[ -n "${PING_LINES}" ]]; then
9797
# to get the newlines to render correctly, using string formatting
9898
# causes the newlines to be interpreted literally.
9999
echo -e "Pinging code owners:\n${PING_LINES}"
100-
echo -e "Pinging code owners:\n${PING_LINES}\n%s" "${LABELS_COMMENT}" \
100+
echo -e "Pinging code owners:\n${PING_LINES}\n" "${LABELS_COMMENT}" \
101101
| gh issue comment "${ISSUE}" -F -
102102
else
103103
echo "No code owners were found to ping"

0 commit comments

Comments
 (0)