Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion breaking/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ oasdiff breaking "$base" "$revision" $flags_with_githubactions
delimiter=$(cat /proc/sys/kernel/random/uuid | tr -d '-')
echo "breaking<<$delimiter" >>"$GITHUB_OUTPUT"

if [ -n "$breaking_changes" ]; then
if [ -n "$breaking_changes" ] && ! echo "$breaking_changes" | head -n 1 | grep -q "^No "; then
write_output "$(echo "$breaking_changes" | head -n 1)" "$breaking_changes"
# Emit upgrade notice pointing to the free review page
urlencode() { printf '%s' "$1" | jq -sRr @uri; }
Expand Down
2 changes: 1 addition & 1 deletion changelog/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ else
output=$(oasdiff changelog "$base" "$revision")
fi

if [ -n "$output" ]; then
if [ -n "$output" ] && ! echo "$output" | head -n 1 | grep -q "^No "; then
write_output "$output"
else
write_output "No changelog changes"
Expand Down
Loading