Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
add script to check for package diffs
0div6cbbaeb2de51
diff --git a/.github/scripts/is_new_api_ref.sh b/.github/scripts/is_new_api_ref.shnew file mode 100755index 000000000..9e2400285--- /dev/null+++ b/.github/scripts/is_new_api_ref.sh@@ -0,0 +1,11 @@+#!/usr/bin/env bash++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 "true"+else+ echo "false"+fi