Skip to content

Commit

Permalink
remove hardcoded diff check result
Browse files Browse the repository at this point in the history
  • Loading branch information
0div committed Sep 23, 2024
1 parent 363e921 commit d8bccd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/is_new_api_ref.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
# This script checks for diffs in the packages directory.
# If there are diffs, it means we need to generate a new API references.
if git diff --name-only HEAD^ | grep -q '^packages/'; then
echo "false"
else
echo "true"
else
echo "false"
fi

0 comments on commit d8bccd9

Please sign in to comment.