Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix: update detect-affected-services.sh (#48)
Will Hutchinsone7a2edce1b68
diff --git a/.github/scripts/detect-affected-services.sh b/.github/scripts/detect-affected-services.shindex c5a489990e..8e5435ad93 100755--- a/.github/scripts/detect-affected-services.sh+++ b/.github/scripts/detect-affected-services.sh@@ -5,7 +5,7 @@ set -e# It uses cargo metadata to build a proper dependency graph# Get changed files from git-CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD | grep "^cloud-storage/" || true)+CHANGED_FILES=$(git diff --name-only HEAD~1 HEAD | grep "^rust/cloud-storage/" || true)if [ -z "$CHANGED_FILES" ]; thenecho "No cloud-storage files changed"@@ -18,7 +18,7 @@ echo "Changed files:" >&2echo "$CHANGED_FILES" >&2# Change to cloud-storage directory-cd cloud-storage+cd rust/cloud-storage# Get cargo metadata for the entire workspace with dependenciesMETADATA=$(cargo metadata --format-version 1 --no-deps)@@ -27,7 +27,7 @@ METADATA=$(cargo metadata --format-version 1 --no-deps)CHANGED_PACKAGES=()while IFS= read -r file; do# Extract package directory from file path (e.g., cloud-storage/models_bulk_upload/src/lib.rs -> models_bulk_upload)- if [[ "$file" =~ ^cloud-storage/([^/]+)/ ]]; then+ if [[ "$file" =~ ^rust/cloud-storage/([^/]+)/ ]]; thenPKG_NAME="${BASH_REMATCH[1]}"# Check if this is actually a package in our workspaceif echo "$METADATA" | jq -r --arg name "$PKG_NAME" '.packages[] | select(.name == $name) | .name' | grep -q "$PKG_NAME"; then@@ -130,4 +130,4 @@ elseecho "services=[]"echo "has_changes=false"echo "No services affected by changes" >&2-fi\ No newline at end of file+fi