Skip to content

Commit 75f58e8

Browse files
Update scripts/format.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent eee1247 commit 75f58e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ git fetch origin "${GITHUB_BASE_REF:-main}" --depth=1
1515
MERGE_BASE=$(git merge-base HEAD "$TARGET_BRANCH")
1616

1717
# Get python files changed in this PR, excluding grpc generated files
18-
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRTUXB "$MERGE_BASE" HEAD | grep '\.py$' | grep -v 'src/a2a/grpc/' || true)
18+
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRTUXB "$MERGE_BASE" HEAD -- '*.py' ':!src/a2a/grpc/*')
1919

2020
if [ -z "$CHANGED_FILES" ]; then
2121
echo "No changed Python files to format."

0 commit comments

Comments
 (0)