Skip to content

Commit

Permalink
git/ci: Avoid commenting with '""' for build with no deps.
Browse files Browse the repository at this point in the history
Closes #9040

Signed-off-by: Andrew Clemons <[email protected]>
  • Loading branch information
aclemons committed Dec 13, 2024
1 parent dfb4fb4 commit 7340526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ jobs:
run: |
{
printf '#### reverse dependencies - %s\n\n' "$MATRIX_DIR"
if [[ "$DEP_RESPONSE" == "" ]] ; then
if [[ "$DEP_RESPONSE" == '""' ]] ; then
printf 'None\n'
else
printf '%s' "$DEP_RESPONSE" | sed 's/\\n/\n/g' | sort | sed 's/^/- [ ] /'
printf '%s' "$DEP_RESPONSE" | sed 's/^""//;s/\\n/\n/g' | sort | sed 's/^/- [ ] /'
fi
} > comment-output
shell:
Expand Down

1 comment on commit 7340526

@willysr
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7340526#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR171
this line caused an additional character in the next line instead of wrapping the text

Please sign in to comment.